From 7f6840cde2b5de11493f5ca6a5351b1c4fab9a33 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:51:26 +0000 Subject: import rh-nodejs6-nodejs-set-blocking-2.0.0-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..16d4ad3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/set-blocking-2.0.0.tgz diff --git a/.rh-nodejs6-nodejs-set-blocking.metadata b/.rh-nodejs6-nodejs-set-blocking.metadata new file mode 100644 index 0000000..7454a18 --- /dev/null +++ b/.rh-nodejs6-nodejs-set-blocking.metadata @@ -0,0 +1 @@ +045f9782d011ae9a6803ddd382b24392b3d890f7 SOURCES/set-blocking-2.0.0.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-set-blocking.spec b/SPECS/nodejs-set-blocking.spec new file mode 100644 index 0000000..e605aaa --- /dev/null +++ b/SPECS/nodejs-set-blocking.spec @@ -0,0 +1,51 @@ +%{?scl:%scl_package nodejs-set-blocking} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 +%global npm_name set-blocking + +Name: %{?scl_prefix}nodejs-%{npm_name} +Version: 2.0.0 +Release: 2%{?dist} +Summary: Set blocking stdio and stderr ensuring that terminal output does not truncate +License: ISC +URL: https://github.com/yargs/set-blocking#readme +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +BuildRequires: %{?scl_prefix}nodejs-devel +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +%description +Set blocking stdio and stderr ensuring that terminal output does not truncate + +%prep +%setup -q -n package + +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} +cp -pfr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} +# If any binaries are included, symlink them to bindir here + + +%nodejs_symlink_deps + +%if 0%{?enable_tests} +%check +#not running tests in RHSCL +%endif + +%files +%{nodejs_sitelib}/%{npm_name} + +%doc LICENSE.txt +%doc README.md + +%changelog +* Tue Sep 20 2016 Zuzana Svetlikova - 2.0.0-2 +- Initial build +