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