diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bab5b2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/readable-stream-2.1.4.tgz diff --git a/.rh-nodejs8-nodejs-readable-stream.metadata b/.rh-nodejs8-nodejs-readable-stream.metadata new file mode 100644 index 0000000..ccd2676 --- /dev/null +++ b/.rh-nodejs8-nodejs-readable-stream.metadata @@ -0,0 +1 @@ +70b9791c6fcb8480db44bd155a0f6bb58f172468 SOURCES/readable-stream-2.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-readable-stream.spec b/SPECS/nodejs-readable-stream.spec new file mode 100644 index 0000000..258493f --- /dev/null +++ b/SPECS/nodejs-readable-stream.spec @@ -0,0 +1,77 @@ +# spec file for package nodejs-nodejs-readable-stream +%{?scl:%scl_package nodejs-nodejs-readable-stream} +%{!?scl:%global pkg_name %{name}} + +%global npm_name readable-stream +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-readable-stream +Version: 2.1.4 +Release: 2%{?dist} +Summary: Streams3, a user-land copy of the stream library from iojs v2.x +Url: https://github.com/nodejs/readable-stream#readme +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT + +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm}} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: npm(tap) +BuildRequires: npm(tape) +BuildRequires: npm(zuul) +%endif + +%description +Streams3, a user-land copy of the stream library from iojs v2.x + +%prep +%setup -q -n package + +%nodejs_fixdep inherits 2.0.0 + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr lib/ package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} +%check +%{nodejs_symlink_deps} --check +tap test/parallel/*.js +%endif + +%files +%{nodejs_sitelib}/readable-stream + +%doc README.md LICENSE + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 2.1.4-2 +- rh-nodejs8 rebuild + +* Thu Sep 15 2016 Zuzana Svetlikova - 2.1.4-1 +- Updated with script + +* Tue Feb 16 2016 Zuzana Svetlikova - 2.0.2-6 +- Use macro in -runtime dependency +- Rebuilt with updated metapackage + +* Tue Sep 22 2015 Zuzana Svetlikova - 2.0.2-3 +- Add lib/ to %%install + +* Thu Aug 20 2015 Zuzana Svetlikova - 2.0.2-2 +- Add %%nodejs_fixdep macro + +* Thu Aug 13 2015 Zuzana Svetlikova - 2.0.2-1 +- Initial build