From 2139fba2a685dd8ffe3689538da26bbc9f0a9875 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:06:53 +0000 Subject: import rh-nodejs6-nodejs-concat-stream-1.5.2-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..482df0e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/concat-stream-1.5.2.tgz diff --git a/.rh-nodejs6-nodejs-concat-stream.metadata b/.rh-nodejs6-nodejs-concat-stream.metadata new file mode 100644 index 0000000..1b7d254 --- /dev/null +++ b/.rh-nodejs6-nodejs-concat-stream.metadata @@ -0,0 +1 @@ +708978624d856af41a5a741defdd261da752c266 SOURCES/concat-stream-1.5.2.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-concat-stream.spec b/SPECS/nodejs-concat-stream.spec new file mode 100644 index 0000000..9fde0e7 --- /dev/null +++ b/SPECS/nodejs-concat-stream.spec @@ -0,0 +1,78 @@ +%{?scl:%scl_package nodejs-concat-stream} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-concat-stream +Version: 1.5.2 +Release: 1%{?dist} +Summary: Writable stream that concatenates data and calls a callback with the result +License: MIT +URL: https://github.com/maxogden/node-concat-stream +Source0: http://registry.npmjs.org/concat-stream/-/concat-stream-%{version}.tgz + +BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}runtime +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}. + +%prep +%setup -q -n package +%nodejs_fixdep inherits +%nodejs_fixdep readable-stream + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/concat-stream +cp -pr package.json index.js \ + %{buildroot}%{nodejs_sitelib}/concat-stream + +%nodejs_symlink_deps + +%if 0%{?enable_tests} +%check +%nodejs_symlink_deps --check +/usr/bin/tape test/*.js test/server/*.js +%endif + +%files +%doc LICENSE readme.md +%{nodejs_sitelib}/concat-stream + +%changelog +* Thu Sep 22 2016 Zuzana Svetlikova - 1.5.2-1 +- Updated with script +- remove patches + +* Tue Feb 16 2016 Zuzana Svetlikova - 1.4.4-7 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.4.4-6 +- Rebuilt with updated metapackage + +* Tue Dec 01 2015 Tomas Hrcka - 1.4.4-5 +- Enable SCL macros + +* Wed Jun 17 2015 Fedora Release Engineering - 1.4.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.4.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Mar 19 2014 Jamie Nguyen - 1.4.4-2 +- add missing BR: npm(inherits) + +* Thu Mar 13 2014 Jamie Nguyen - 1.4.4-1 +- initial package