Blame SPECS/nodejs-readable-stream.spec

404201
# spec file for package nodejs-nodejs-readable-stream
404201
%{?scl:%scl_package nodejs-nodejs-readable-stream}
404201
%{!?scl:%global pkg_name %{name}}
404201
404201
%global npm_name readable-stream
404201
%{?nodejs_find_provides_and_requires}
404201
404201
%global enable_tests 0
404201
404201
Name:		%{?scl_prefix}nodejs-readable-stream
404201
Version:    2.1.4
404201
Release:    1%{?dist}
404201
Summary:	Streams3, a user-land copy of the stream library from iojs v2.x
404201
Url:		https://github.com/nodejs/readable-stream#readme
404201
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
404201
License:	MIT
404201
404201
BuildArch:	noarch
404201
ExclusiveArch:	%{ix86} x86_64 %{arm}} noarch
404201
404201
BuildRequires:	%{?scl_prefix}nodejs-devel
404201
404201
%if 0%{?enable_tests}
404201
BuildRequires:	npm(tap)
404201
BuildRequires:	npm(tape)
404201
BuildRequires:	npm(zuul)
404201
%endif
404201
404201
%description
404201
Streams3, a user-land copy of the stream library from iojs v2.x
404201
404201
%prep
404201
%setup -q -n package
404201
404201
%nodejs_fixdep inherits 2.0.0
404201
404201
%build
404201
#nothing to do
404201
404201
%install
404201
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
404201
404201
cp -pr lib/ package.json *.js \
404201
	%{buildroot}%{nodejs_sitelib}/%{npm_name}
404201
404201
%{nodejs_symlink_deps}
404201
404201
%if 0%{?enable_tests}
404201
%check
404201
%{nodejs_symlink_deps} --check
404201
tap test/parallel/*.js
404201
%endif
404201
404201
%files
404201
%{nodejs_sitelib}/readable-stream
404201
404201
%doc README.md LICENSE
404201
404201
%changelog
404201
* Thu Sep 15 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.1.4-1
404201
- Updated with script
404201
404201
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.2-6
404201
- Use macro in -runtime dependency
404201
- Rebuilt with updated metapackage
404201
404201
* Tue Sep 22 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.2-3
404201
- Add lib/ to %%install
404201
404201
* Thu Aug 20 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.2-2
404201
- Add %%nodejs_fixdep macro
404201
404201
* Thu Aug 13 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.2-1
404201
- Initial build