|
|
ba9044 |
%{?scl:%scl_package nodejs-%{module_name}}
|
|
|
ba9044 |
%{!?scl:%global pkg_name %{name}}
|
|
|
ba9044 |
%{?nodejs_find_provides_and_requires}
|
|
|
ba9044 |
|
|
|
ba9044 |
%global enable_tests 0
|
|
|
ba9044 |
%global module_name duplexify
|
|
|
ba9044 |
|
|
|
ba9044 |
Name: %{?scl_prefix}nodejs-%{module_name}
|
|
|
ba9044 |
Version: 3.5.0
|
|
|
c97ca8 |
Release: 3%{?dist}
|
|
|
ba9044 |
Summary: Turn a writeable and readable stream into a single streams2 duplex stream
|
|
|
ba9044 |
|
|
|
ba9044 |
License: MIT
|
|
|
ba9044 |
URL: https://github.com/mafintosh/duplexify
|
|
|
ba9044 |
Source0: http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
|
|
|
ba9044 |
BuildArch: noarch
|
|
|
ba9044 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
ba9044 |
|
|
|
ba9044 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
ba9044 |
|
|
|
ba9044 |
%if 0%{?enable_tests}
|
|
|
ba9044 |
BuildRequires: %{?scl_prefix}npm(tape)
|
|
|
ba9044 |
BuildRequires: %{?scl_prefix}npm(through2)
|
|
|
ba9044 |
BuildRequires: %{?scl_prefix}npm(concat-stream)
|
|
|
ba9044 |
%endif
|
|
|
ba9044 |
|
|
|
ba9044 |
%description
|
|
|
ba9044 |
%{summary}.
|
|
|
ba9044 |
|
|
|
ba9044 |
%prep
|
|
|
ba9044 |
%setup -q -n package
|
|
|
ba9044 |
rm -rf node_modules
|
|
|
ba9044 |
|
|
|
ba9044 |
%nodejs_fixdep end-of-stream
|
|
|
ba9044 |
%nodejs_fixdep readable-stream
|
|
|
ba9044 |
%nodejs_fixdep inherits
|
|
|
ba9044 |
|
|
|
ba9044 |
%build
|
|
|
ba9044 |
# nothing to build
|
|
|
ba9044 |
|
|
|
ba9044 |
%install
|
|
|
ba9044 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
|
|
|
ba9044 |
cp -pr package.json *.js %{buildroot}%{nodejs_sitelib}/%{module_name}
|
|
|
ba9044 |
%nodejs_symlink_deps
|
|
|
ba9044 |
|
|
|
ba9044 |
%if 0%{?enable_tests}
|
|
|
ba9044 |
|
|
|
ba9044 |
%check
|
|
|
ba9044 |
%nodejs_symlink_deps --check
|
|
|
ba9044 |
tap test.js
|
|
|
ba9044 |
%endif
|
|
|
ba9044 |
|
|
|
ba9044 |
%files
|
|
|
ba9044 |
%{!?_licensedir:%global license %doc}
|
|
|
ba9044 |
%doc README.md LICENSE
|
|
|
ba9044 |
%{nodejs_sitelib}/%{module_name}
|
|
|
ba9044 |
|
|
|
ba9044 |
%changelog
|
|
|
c97ca8 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.5.0-3
|
|
|
c97ca8 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
c97ca8 |
|
|
|
ba9044 |
* Tue Nov 01 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.5.0-2
|
|
|
ba9044 |
- Grooming
|
|
|
ba9044 |
|
|
|
ba9044 |
* Mon Oct 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.5.0-1
|
|
|
ba9044 |
- Updated with script
|
|
|
ba9044 |
|
|
|
ba9044 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.4.2-5
|
|
|
ba9044 |
- Use macro in -runtime dependency
|
|
|
ba9044 |
|
|
|
ba9044 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.4.2-4
|
|
|
ba9044 |
- Rebuilt with updated metapackage
|
|
|
ba9044 |
|
|
|
ba9044 |
* Thu Jan 14 2016 Tomas Hrcka <thrcka@redhat.com> - 3.4.2-3
|
|
|
ba9044 |
- Enable scl macros
|
|
|
ba9044 |
|
|
|
ba9044 |
* Fri Aug 14 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.4.2-1
|
|
|
ba9044 |
- Update to 3.4.2
|
|
|
ba9044 |
|
|
|
ba9044 |
* Fri Aug 14 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.4.0-1
|
|
|
ba9044 |
- Update to 3.4.0
|
|
|
ba9044 |
|
|
|
ba9044 |
* Wed Jul 22 2015 Parag Nemade <pnemade AT fedoraproject DOT org> - 3.2.0-3
|
|
|
ba9044 |
- fixdep npm(readable-stream)
|
|
|
ba9044 |
|
|
|
ba9044 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-2
|
|
|
ba9044 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ba9044 |
|
|
|
ba9044 |
* Mon Dec 22 2014 Parag Nemade <pnemade AT redhat DOT com> - 3.2.0-1
|
|
|
ba9044 |
- Initial packaging
|