From 9aa103e70816267def0c06c3c88c03364cf459f5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:54:03 +0000 Subject: import rh-nodejs8-nodejs-through-2.3.8-4.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fd054d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/through-2.3.8.tgz diff --git a/.rh-nodejs8-nodejs-through.metadata b/.rh-nodejs8-nodejs-through.metadata new file mode 100644 index 0000000..838e548 --- /dev/null +++ b/.rh-nodejs8-nodejs-through.metadata @@ -0,0 +1 @@ +0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5 SOURCES/through-2.3.8.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-through.spec b/SPECS/nodejs-through.spec new file mode 100644 index 0000000..db1b5d8 --- /dev/null +++ b/SPECS/nodejs-through.spec @@ -0,0 +1,70 @@ +# spec file for package nodejs-nodejs-through +%{?scl:%scl_package nodejs-nodejs-through} +%{!?scl:%global pkg_name %{name}} + +%global npm_name through +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-through +Version: 2.3.8 +Release: 4%{?dist} +Summary: simplified stream construction +Url: https://github.com/dominictarr/through +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT and ASL 2.0 + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-packaging + +%if 0%{?enable_tests} +BuildRequires: npm(from) +BuildRequires: npm(stream-spec) +BuildRequires: npm(tape) +%endif + +%description +simplified stream construction + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json index.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_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 +%{nodejs_sitelib}/through + +%doc readme.markdown +%license LICENSE.APACHE2 LICENSE.MIT + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 2.3.8-4 +- rh-nodejs8 rebuild + +* Tue Jun 14 2016 Zuzana Svetlikova - 2.3.8-3 +- Resolves: #1334856, add ASL 2.0 + +* Sun Feb 14 2016 Zuzana Svetlikova - 2.3.8-2 +- rebuilt + +* Wed Jul 29 2015 Zuzana Svetlikova - 2.3.8-1 +- Initial build