diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df99fba --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/child-process-close-0.1.1.tgz diff --git a/.nodejs010-nodejs-child-process-close.metadata b/.nodejs010-nodejs-child-process-close.metadata new file mode 100644 index 0000000..292146c --- /dev/null +++ b/.nodejs010-nodejs-child-process-close.metadata @@ -0,0 +1 @@ +c153ede7a5eb65ac69e78a38973b1a286377f75f SOURCES/child-process-close-0.1.1.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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-child-process-close.spec b/SPECS/nodejs-child-process-close.spec new file mode 100644 index 0000000..74b1ab1 --- /dev/null +++ b/SPECS/nodejs-child-process-close.spec @@ -0,0 +1,68 @@ +%{?scl:%scl_package nodejs-child-process-close} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-child-process-close +Version: 0.1.1 +Release: 3.2%{?dist} +Summary: Make child_process objects emit 'close' events +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +Group: Development/Libraries +#MIT license included in README file +License: MIT +URL: https://github.com/piscisaureus/child-process-close +Source0: http://registry.npmjs.org/child-process-close/-/child-process-close-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +This module makes child process objects, (created with spawn, fork, exec or +execFile) emit the close event in node v0.6 like they do in node v0.8. This +makes it easier to write code that works correctly on both versions of node. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/child-process-close +cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/child-process-close + +%nodejs_symlink_deps + +%check +%{?scl:scl enable %{scl} "} +%{__nodejs} test/test.js +%{?scl:"} + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/child-process-close +%doc README.md + +%changelog +* Thu Nov 07 2013 Tomas Hrcka - 0.1.1-3.2 +- enable scl when running tests + +* Wed Nov 06 2013 Tomas Hrcka - 0.1.1-3.1 +- add software collections suport + +* Sat Aug 03 2013 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.1.1-2 +- restrict to compatible arches + +* Thu May 30 2013 T.C. Hollingsworth - 0.1.1-1 +- initial package