From ce6749e58a4ad0330cbf1bd1aee8a9811fd2420d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:49:01 +0000 Subject: import rh-nodejs8-nodejs-event-stream-3.3.2-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..899b8a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/event-stream-3.3.2.tgz diff --git a/.rh-nodejs8-nodejs-event-stream.metadata b/.rh-nodejs8-nodejs-event-stream.metadata new file mode 100644 index 0000000..f5be903 --- /dev/null +++ b/.rh-nodejs8-nodejs-event-stream.metadata @@ -0,0 +1 @@ +3cc310feb1f28d2f62b2a085d736a9ef566378b8 SOURCES/event-stream-3.3.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-event-stream.spec b/SPECS/nodejs-event-stream.spec new file mode 100644 index 0000000..98530d5 --- /dev/null +++ b/SPECS/nodejs-event-stream.spec @@ -0,0 +1,88 @@ +%{?scl:%scl_package nodejs-%{module_name}} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} +# Disabled as some modules are not in fedora +%global enable_tests 0 + +%global module_name event-stream + +Name: %{?scl_prefix}nodejs-%{module_name} +Version: 3.3.2 +Release: 7%{?dist} +Summary: Construct pipes of streams of events + +License: MIT +URL: https://github.com/dominictarr/event-stream +Source0: https://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}runtime + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(tape) +BuildRequires: %{?scl_prefix}npm(it-is) +BuildRequires: %{?scl_prefix}npm(asynct) +BuildRequires: %{?scl_prefix}npm(stream-spec) +%endif + +%description +%{summary}. + +%prep +%setup -q -n package +rm -rf node_modules + +%nodejs_fixdep map-stream ">=0.1.0" +%nodejs_fixdep split ">=0.3" +%nodejs_fixdep stream-combiner ">=0.0.4" + +%build +# nothing to build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name} +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name} + +%nodejs_symlink_deps +%if 0%{?enable_tests} + +%check +%nodejs_symlink_deps --check +set -e; for t in test/*.js; do node $t; done +%endif + +%files +%{!?_licensedir:%global license %doc} +%doc readme.markdown examples +%license LICENCE +%{nodejs_sitelib}/%{module_name} + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 3.3.2-7 +- rh-nodejs8 rebuild + +* Tue Feb 16 2016 Zuzana Svetlikova - 3.3.2-6 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 3.3.2-5 +- Rebuilt with updated metapackage + +* Thu Jan 07 2016 Tomas Hrcka - 3.3.2-3 +- Enable scl macros + +* Thu Dec 17 2015 Troy Dawson - 3.3.2-1 +- Update to 3.3.2 + +* Wed Jun 17 2015 Fedora Release Engineering - 3.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Feb 04 2015 Parag Nemade - 3.2.2-1 +- update to 3.2.2 upstream release + +* Thu Jan 08 2015 Parag Nemade - 3.2.1-1 +- Update to 3.2.1 + +* Sun Dec 07 2014 Parag Nemade - 3.1.7-1 +- Initial packaging