|
|
ea579f |
%{?scl:%scl_package nodejs-retry}
|
|
|
ea579f |
%{!?scl:%global pkg_name %{name}}
|
|
|
ea579f |
%{?nodejs_find_provides_and_requires}
|
|
|
ea579f |
|
|
|
ea579f |
Name: %{?scl_prefix}nodejs-retry
|
|
|
ea579f |
Version: 0.6.0
|
|
|
ea579f |
Release: 6%{?dist}
|
|
|
ea579f |
Summary: Retry strategies for failed operations
|
|
|
ea579f |
BuildArch: noarch
|
|
|
ea579f |
|
|
|
ea579f |
Group: System Environment/Libraries
|
|
|
ea579f |
License: MIT
|
|
|
ea579f |
URL: https://github.com/felixge/node-retry
|
|
|
ea579f |
Source0: http://registry.npmjs.org/retry/-/retry-%{version}.tgz
|
|
|
ea579f |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ea579f |
|
|
|
ea579f |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
ea579f |
|
|
|
ea579f |
%description
|
|
|
ea579f |
Abstraction for exponential and custom retry strategies for failed operations.
|
|
|
ea579f |
|
|
|
ea579f |
%prep
|
|
|
ea579f |
%setup -q -n package
|
|
|
ea579f |
|
|
|
ea579f |
%build
|
|
|
ea579f |
#nothing to do
|
|
|
ea579f |
|
|
|
ea579f |
%install
|
|
|
ea579f |
rm -rf %buildroot
|
|
|
ea579f |
mkdir -p %{buildroot}%{nodejs_sitelib}/retry
|
|
|
ea579f |
cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/retry
|
|
|
ea579f |
|
|
|
ea579f |
%nodejs_symlink_deps
|
|
|
ea579f |
|
|
|
ea579f |
%clean
|
|
|
ea579f |
rm -rf %buildroot
|
|
|
ea579f |
|
|
|
ea579f |
%files
|
|
|
ea579f |
%defattr(-,root,root,-)
|
|
|
ea579f |
%{nodejs_sitelib}/retry
|
|
|
ea579f |
%doc License Readme.md equation.gif example
|
|
|
ea579f |
|
|
|
ea579f |
%changelog
|
|
|
ea579f |
* Thu Feb 27 2014 Tomas Hrcka <thrcka@redhat.com> - 0.6.0-6
|
|
|
ea579f |
- Rebuilt rhbz#(1070612)
|
|
|
ea579f |
|
|
|
ea579f |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.6.0-5
|
|
|
ea579f |
- replace provides and requires with macro
|
|
|
ea579f |
|
|
|
ea579f |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.6.0-4
|
|
|
ea579f |
- Add support for software collections
|
|
|
ea579f |
|
|
|
ea579f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-3
|
|
|
ea579f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
ea579f |
|
|
|
ea579f |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.6.0-2
|
|
|
ea579f |
- add missing build section
|
|
|
ea579f |
- fix License tag
|
|
|
ea579f |
|
|
|
ea579f |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.6.0-1
|
|
|
ea579f |
- initial package generated by npm2rpm
|