34 lines
935 B
RPMSpec
34 lines
935 B
RPMSpec
%{?nodejs_find_provides_and_requires}
|
|
Name: nodejs-delayed-stream
|
|
Version: 1.0.0
|
|
Release: 1
|
|
Summary: Buffers events from a stream until you are ready to handle them
|
|
BuildArch: noarch
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
License: MIT
|
|
URL: https://github.com/felixge/node-delayed-stream
|
|
Source0: https://registry.npmjs.org/delayed-stream/-/delayed-stream-%{version}.tgz
|
|
BuildRequires: nodejs-packaging
|
|
|
|
%description
|
|
Buffers events from a stream until you are ready to handle them.
|
|
|
|
%prep
|
|
%setup -q -n package
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf %buildroot
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/delayed-stream
|
|
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/delayed-stream
|
|
|
|
%files
|
|
%doc Readme.md
|
|
%license License
|
|
%{nodejs_sitelib}/delayed-stream
|
|
|
|
%changelog
|
|
* Tue Aug 18 2020 leiju <leiju4@huawei.com> - 1.0.0-1
|
|
- Package init
|