|
|
047ace |
%{?scl:%scl_package nodejs-block-stream}
|
|
|
047ace |
%{!?scl:%global pkg_name %{name}}
|
|
|
047ace |
|
|
|
047ace |
%global enable_tests 0
|
|
|
047ace |
|
|
|
047ace |
%{?nodejs_find_provides_and_requires}
|
|
|
047ace |
|
|
|
047ace |
Name: %{?scl_prefix}nodejs-block-stream
|
|
|
047ace |
Version: 0.0.8
|
|
|
5ac52d |
Release: 4%{?dist}
|
|
|
047ace |
Summary: A stream of blocks
|
|
|
047ace |
License: ISC
|
|
|
047ace |
URL: https://github.com/isaacs/block-stream
|
|
|
047ace |
Source0: http://registry.npmjs.org/block-stream/-/block-stream-%{version}.tgz
|
|
|
047ace |
BuildArch: noarch
|
|
|
047ace |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
047ace |
|
|
|
047ace |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
047ace |
|
|
|
047ace |
%if 0%{enable_tests}
|
|
|
047ace |
BuildRequires: %{?scl_prefix}npm(tap)
|
|
|
047ace |
%endif
|
|
|
047ace |
|
|
|
047ace |
%description
|
|
|
047ace |
Write data into it, and it'll output data in buffer blocks the size you
|
|
|
047ace |
specify, padding with zeroes if necessary.
|
|
|
047ace |
|
|
|
047ace |
%prep
|
|
|
047ace |
%setup -q -n package
|
|
|
047ace |
|
|
|
047ace |
%build
|
|
|
047ace |
#nothing to do
|
|
|
047ace |
|
|
|
047ace |
%install
|
|
|
047ace |
mkdir -p %{buildroot}%{nodejs_sitelib}/block-stream
|
|
|
047ace |
cp -pr block-stream.js package.json %{buildroot}%{nodejs_sitelib}/block-stream
|
|
|
047ace |
|
|
|
047ace |
%nodejs_symlink_deps
|
|
|
047ace |
|
|
|
047ace |
%if 0%{enable_tests}
|
|
|
047ace |
%check
|
|
|
047ace |
%nodejs_symlink_deps --check
|
|
|
047ace |
tap test/
|
|
|
047ace |
%endif
|
|
|
047ace |
|
|
|
047ace |
%files
|
|
|
047ace |
%{nodejs_sitelib}/block-stream
|
|
|
047ace |
%doc README.md LICENCE
|
|
|
047ace |
|
|
|
047ace |
%changelog
|
|
|
5ac52d |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.0.8-4
|
|
|
5ac52d |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
5ac52d |
|
|
|
047ace |
* Fri Mar 10 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.0.8-3
|
|
|
047ace |
- Correct license
|
|
|
047ace |
|
|
|
047ace |
* Mon Jan 16 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.0.8-2
|
|
|
047ace |
- Clean up
|
|
|
047ace |
|
|
|
047ace |
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.0.8-1
|
|
|
047ace |
- Updated with script
|
|
|
047ace |
|
|
|
047ace |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.7-2
|
|
|
047ace |
- replace provides and requires with macro
|
|
|
047ace |
|
|
|
047ace |
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-1
|
|
|
047ace |
- new upstream release 0.0.7
|
|
|
047ace |
|
|
|
047ace |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-7
|
|
|
047ace |
- restrict to compatible arches
|
|
|
047ace |
|
|
|
047ace |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-6
|
|
|
047ace |
- add macro for EPEL6 dependency generation
|
|
|
047ace |
|
|
|
047ace |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.6-6
|
|
|
047ace |
- Add support for software collections
|
|
|
047ace |
|
|
|
047ace |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-5
|
|
|
047ace |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
047ace |
|
|
|
047ace |
* Thu Jan 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-4
|
|
|
047ace |
- correct Licensse tag
|
|
|
047ace |
- include LICENCE file
|
|
|
047ace |
- provide a better description
|
|
|
047ace |
|
|
|
047ace |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-3
|
|
|
047ace |
- add missing build section
|
|
|
047ace |
|
|
|
047ace |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-2
|
|
|
047ace |
- clean up for submission
|
|
|
047ace |
|
|
|
047ace |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.6-1
|
|
|
047ace |
- new upstream release 0.0.6
|
|
|
047ace |
|
|
|
047ace |
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-2
|
|
|
047ace |
- guard Requires for F17 automatic depedency generation
|
|
|
047ace |
|
|
|
047ace |
* Sat Feb 25 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.5-1
|
|
|
047ace |
- new upstream release 0.0.5
|
|
|
047ace |
|
|
|
047ace |
* Fri Jan 21 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.4-1
|
|
|
047ace |
- initial package
|