package init

This commit is contained in:
root 2020-08-20 17:53:23 +08:00
parent 42dbd2c9bd
commit 4be93d5f21
3 changed files with 35 additions and 0 deletions

BIN
buffer-equal-0.0.0.tgz Normal file

Binary file not shown.

31
nodejs-buffer-equal.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: substack/node-buffer-equal
tag_prefix: "^"
seperator: "."