bf013da
# Disabled tests 
bf013da
# circular deps needs event-stream which needs this
bf013da
%global enable_tests 0
bf013da
%global module_name stream-combiner
bf013da
bf013da
Name:           nodejs-%{module_name}
bf013da
Version:        0.2.1
fac60c8
Release:        6%{?dist}
bf013da
Summary:        Turn a pipeline into a single stream 
bf013da
bf013da
License:        MIT
bf013da
URL:            https://github.com/dominictarr/stream-combiner
bf013da
Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
bf013da
BuildArch:      noarch
bf013da
ExclusiveArch:  %{nodejs_arches} noarch
bf013da
bf013da
BuildRequires:  nodejs-packaging
bf013da
bf013da
%if 0%{?enable_tests}
bf013da
BuildRequires:  npm(tape)
bf013da
BuildRequires:  npm(event-stream)
bf013da
%endif
bf013da
bf013da
%description
bf013da
Turn a pipeline into a single stream. Combine returns a stream that writes
bf013da
to the first stream and reads from the last stream. 
bf013da
bf013da
%prep
bf013da
%setup -q -n package
bf013da
rm -rf node_modules
bf013da
bf013da
%build
bf013da
# nothing to build
bf013da
bf013da
%install
bf013da
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
bf013da
cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name}
bf013da
%nodejs_symlink_deps
bf013da
bf013da
%if 0%{?enable_tests}
bf013da
%check
bf013da
%nodejs_symlink_deps --check
bf013da
set -e; for t in test/*.js; do node $t; done
bf013da
%endif
bf013da
bf013da
%files
bf013da
%doc README.md LICENSE
bf013da
%{nodejs_sitelib}/%{module_name}
bf013da
bf013da
%changelog
fac60c8
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
fac60c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fac60c8
46bff0f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-5
46bff0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
46bff0f
c2fa530
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-4
c2fa530
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c2fa530
cefd9e3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
cefd9e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cefd9e3
0158b10
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
0158b10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0158b10
bf013da
* Tue Dec 09 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.2.1-1
bf013da
- Initial packaging
bf013da