2 Summary: Abstraction for exponential and custom retry strategies for failed operations
7 Group: Development/Libraries
8 URL: https://github.com/tim-kos/retry
9 Source0: http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
10 # Source0-md5: 1f8567a864418f39263a4f6f81eac30e
11 BuildRequires: rpmbuild(macros) >= 1.634
12 BuildRequires: sed >= 4.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Abstraction for exponential and custom retry strategies for failed operations.
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_bindir},%{nodejs_libdir}/%{pkg}}
27 cp -a package.json *.js lib $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
29 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
30 cp -a example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)
37 %doc Readme.md License equation.gif
38 %{nodejs_libdir}/%{pkg}
39 %{_examplesdir}/%{name}-%{version}