From d13bcdf74e828e036a908a427675330ccf396cf9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:30:23 +0000 Subject: import rh-nodejs8-nodejs-is-buffer-1.1.4-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..989f5d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/is-buffer-1.1.4.tgz diff --git a/.rh-nodejs8-nodejs-is-buffer.metadata b/.rh-nodejs8-nodejs-is-buffer.metadata new file mode 100644 index 0000000..5f7ad01 --- /dev/null +++ b/.rh-nodejs8-nodejs-is-buffer.metadata @@ -0,0 +1 @@ +cfc86ccd5dc5a52fa80489111c6920c457e2d98b SOURCES/is-buffer-1.1.4.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-is-buffer.spec b/SPECS/nodejs-is-buffer.spec new file mode 100644 index 0000000..c3ac1ec --- /dev/null +++ b/SPECS/nodejs-is-buffer.spec @@ -0,0 +1,60 @@ +%{?scl:%scl_package nodejs-%{npm_name}} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global npm_name is-buffer + +Summary: Determine if an object is Buffer +Name: %{?scl_prefix}nodejs-%{npm_name} +Version: 1.1.4 +Release: 3%{?dist} +License: MIT +URL: https://github.com/feross/is-buffer +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs-devel +ExclusiveArch: %{nodejs_arches} noarch +BuildArch: noarch + +%description +This module lets you check if an object is a Buffer without +using Buffer.isBuffer (which includes the whole buffer module +in browserify). + +It's future-proof and works in node too! + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} +cp -pr index.js package.json test %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%nodejs_symlink_deps + +%files +%doc LICENSE README.md +%{nodejs_sitelib}/%{npm_name} + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 1.1.4-3 +- rh-nodejs8 rebuild + +* Wed Mar 08 2017 Zuzana Svetlikova - 1.1.4-2 +- Add symlink macro + +* Mon Oct 31 2016 Zuzana Svetlikova - 1.1.4-1 +- Updated with script + +* Tue Feb 16 2016 Zuzana Svetlikova - 1.0.2-4 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.2-3 +- Rebuilt with updated metapackage + +* Thu Jan 14 2016 Tomas Hrcka - 1.0.2-2 +- Enable scl macros + +* Thu Sep 10 2015 Troy Dawson - 1.0.2-1 +- Initial package