|
|
1fcd4f |
%{?scl:%scl_package nodejs-delayed-stream}
|
|
|
1fcd4f |
%{!?scl:%global pkg_name %{name}}
|
|
|
1fcd4f |
%global enable_tests 0
|
|
|
1fcd4f |
%{?nodejs_find_provides_and_requires}
|
|
|
1fcd4f |
|
|
|
1fcd4f |
Name: %{?scl_prefix}nodejs-delayed-stream
|
|
|
1fcd4f |
Version: 1.0.0
|
|
|
c31604 |
Release: 2%{?dist}
|
|
|
1fcd4f |
Summary: Buffers events from a stream until you are ready to handle them
|
|
|
1fcd4f |
BuildArch: noarch
|
|
|
1fcd4f |
|
|
|
1fcd4f |
License: MIT
|
|
|
1fcd4f |
URL: https://github.com/felixge/node-delayed-stream
|
|
|
1fcd4f |
Source0: http://registry.npmjs.org/delayed-stream/-/delayed-stream-%{version}.tgz
|
|
|
1fcd4f |
|
|
|
1fcd4f |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%if 0%{enable_tests}
|
|
|
1fcd4f |
BuildRequires: %{?scl_prefix}npm(fake)
|
|
|
1fcd4f |
BuildRequires: %{?scl_prefix}npm(far)
|
|
|
1fcd4f |
%endif
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%description
|
|
|
1fcd4f |
Buffers events from a stream until you are ready to handle them.
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%prep
|
|
|
1fcd4f |
%setup -q -n package
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%build
|
|
|
1fcd4f |
#nothing to do
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%install
|
|
|
1fcd4f |
mkdir -p %{buildroot}%{nodejs_sitelib}/delayed-stream
|
|
|
1fcd4f |
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/delayed-stream
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%if 0%{?enable_tests}
|
|
|
1fcd4f |
%check
|
|
|
1fcd4f |
%{nodejs_symlink_deps} --check
|
|
|
1fcd4f |
make test
|
|
|
1fcd4f |
%endif
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%files
|
|
|
1fcd4f |
%{nodejs_sitelib}/delayed-stream
|
|
|
1fcd4f |
%doc License Readme.md
|
|
|
1fcd4f |
|
|
|
1fcd4f |
%changelog
|
|
|
c31604 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-2
|
|
|
c31604 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
c31604 |
|
|
|
1fcd4f |
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-1
|
|
|
1fcd4f |
- Updated with script
|
|
|
1fcd4f |
|
|
|
1fcd4f |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.0.5-6
|
|
|
1fcd4f |
- rebuilt
|
|
|
1fcd4f |
|
|
|
1fcd4f |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.5-5
|
|
|
1fcd4f |
- replace provides and requires with macro
|
|
|
1fcd4f |
|
|
|
1fcd4f |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.5-4
|
|
|
1fcd4f |
- Add support for software collections
|
|
|
1fcd4f |
|
|
|
1fcd4f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.5-3
|
|
|
1fcd4f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
1fcd4f |
|
|
|
1fcd4f |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-2
|
|
|
1fcd4f |
- add missing build section
|
|
|
1fcd4f |
- fix License
|
|
|
1fcd4f |
|
|
|
1fcd4f |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-1
|
|
|
1fcd4f |
- initial package generated by npm2rpm
|