commit
543a81cf09
BIN
buffer-equal-0.0.0.tgz
Normal file
BIN
buffer-equal-0.0.0.tgz
Normal file
Binary file not shown.
31
nodejs-buffer-equal.spec
Normal file
31
nodejs-buffer-equal.spec
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
Name: nodejs-buffer-equal
|
||||||
|
Version: 0.0.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Returns whether two buffers are equal
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/substack/node-buffer-equal
|
||||||
|
Source0: https://registry.npmjs.org/buffer-equal/-/buffer-equal-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%description
|
||||||
|
Returns whether two buffers are equal.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/buffer-equal
|
||||||
|
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/buffer-equal
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{nodejs_sitelib}/buffer-equal
|
||||||
|
%doc README.markdown example
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 0.0.0-1
|
||||||
|
- Package init
|
||||||
4
nodejs-buffer-equal.yaml
Normal file
4
nodejs-buffer-equal.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: substack/node-buffer-equal
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user