diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebf8c7e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/graceful-fs-2.0.0.tgz diff --git a/.nodejs010-nodejs-graceful-fs.metadata b/.nodejs010-nodejs-graceful-fs.metadata new file mode 100644 index 0000000..52e10f9 --- /dev/null +++ b/.nodejs010-nodejs-graceful-fs.metadata @@ -0,0 +1 @@ +c9a206f6f5f4b94e1046dfaaccfe9e12d0ab8cef SOURCES/graceful-fs-2.0.0.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-graceful-fs.spec b/SPECS/nodejs-graceful-fs.spec new file mode 100644 index 0000000..dcbf5ed --- /dev/null +++ b/SPECS/nodejs-graceful-fs.spec @@ -0,0 +1,111 @@ +%{?scl:%scl_package nodejs-graceful-fs} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-graceful-fs +Version: 2.0.0 +Release: 2%{?dist} +Summary: 'fs' module with incremental back-off on EMFILE +License: BSD +Group: Development/Libraries +URL: https://github.com/isaacs/node-graceful-fs +Source0: http://registry.npmjs.org/graceful-fs/-/graceful-fs-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +# The LICENSE file has been updated upstream to reflect the actual license. +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Just like node.js' fs module, but it does an incremental back-off when EMFILE is +encountered. Useful in asynchronous situations where one needs to try to open +lots and lots of files. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/graceful-fs +cp -p graceful-fs.js package.json polyfills.js \ + %{buildroot}%{nodejs_sitelib}/graceful-fs + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/graceful-fs +%doc README.md LICENSE + +%changelog +* Fri Jul 12 2013 Jamie Nguyen - 2.0.0-2 +- include missing polyfills.js file + +* Fri Jul 12 2013 T.C. Hollingsworth - 2.0.0-1 +- new upstream release 2.0.0 +- license file now updated upstream + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.2.2-1 +- new upstream release 1.2.2 + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.2.1-3 +- restrict to compatible arches + +* Tue May 28 2013 Tomas Hrcka - 1.2.1-2.1 +- merged latest upstream release and fix BZ#967550 + +* Mon May 27 2013 Jamie Nguyen - 1.2.1-2 +- the LICENSE file previously contained the wrong license (MIT), but now + upstream have fixed it to contain the correct license (BSD) (#967442) + +* Sat May 25 2013 Jamie Nguyen - 1.2.1-1 +- update to upstream release 1.2.1 + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.2.0-2 +- add macro for EPEL6 dependency generation + +* Thu Apr 11 2013 Stanislav Ochotnicky - 1.2.0-2 +- Add support for software collections + +* Sat Feb 09 2013 T.C. Hollingsworth - 1.2.0-1 +- new upstream release 1.2.0 + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.1.14-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.1.14-1 +- new upstream release 1.1.14 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.1.8-2 +- guard Requires for F17 automatic depedency generation + +* Thu Mar 22 2012 T.C. Hollingsworth - 1.1.8-1 +- new upstream release 1.1.8 + +* Sun Jan 29 2012 T.C. Hollingsworth - 1.1.5-1 +- new upstream release 1.1.5 + +* Sat Jan 21 2012 T.C. Hollingsworth - 1.1.4-2 +- missing Group field for EL5 + +* Sat Jan 21 2012 T.C. Hollingsworth - 1.1.4-1 +- new upstream release 1.1.4 + +* Thu Nov 10 2011 T.C. Hollingsworth - 1.0.2-0.1.20111109git33dee97 +- new upstream release +- Node v0.6.0 compatibility fixes + +* Tue Oct 25 2011 T.C. Hollingsworth - 1.0.1-1 +- new upstream release + +* Mon Aug 22 2011 T.C. Hollingsworth - 1.0.0-1 +- initial package