package init
This commit is contained in:
parent
734fd07071
commit
142abb2079
BIN
block-stream-0.0.7.tgz
Normal file
BIN
block-stream-0.0.7.tgz
Normal file
Binary file not shown.
37
nodejs-block-stream.spec
Normal file
37
nodejs-block-stream.spec
Normal file
@ -0,0 +1,37 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-block-stream
|
||||
Version: 0.0.7
|
||||
Release: 1
|
||||
Summary: A stream of blocks
|
||||
License: BSD
|
||||
URL: https://github.com/isaacs/block-stream
|
||||
Source0: https://registry.npmjs.org/block-stream/-/block-stream-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging nodejs-tap
|
||||
%description
|
||||
Write data into it, and it'll output data in buffer blocks the size you
|
||||
specify, padding with zeroes if necessary.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/block-stream
|
||||
cp -pr block-stream.js package.json %{buildroot}%{nodejs_sitelib}/block-stream
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
tap test/
|
||||
|
||||
%files
|
||||
%{nodejs_sitelib}/block-stream
|
||||
%doc README.md
|
||||
%license LICENCE
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 0.0.7-1
|
||||
- Package init
|
||||
4
nodejs-block-stream.yaml
Normal file
4
nodejs-block-stream.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: isaacs/block-stream
|
||||
tag_prefix: "v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user