commit
23d8f367a5
BIN
function-bind-1.1.1.tgz
Normal file
BIN
function-bind-1.1.1.tgz
Normal file
Binary file not shown.
37
nodejs-function-bind.spec
Normal file
37
nodejs-function-bind.spec
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
Name: nodejs-function-bind
|
||||||
|
Version: 1.1.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Implementation of Function.prototype.bind
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/Raynos/function-bind
|
||||||
|
Source0: https://registry.npmjs.org/function-bind/-/function-bind-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
BuildRequires: npm(tape)
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/function-bind
|
||||||
|
cp -pr package.json index.js implementation.js %{buildroot}%{nodejs_sitelib}/function-bind
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%__nodejs test/index.js
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{nodejs_sitelib}/function-bind
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 1.1.1-1
|
||||||
|
- package init
|
||||||
4
nodejs-function-bind.yaml
Normal file
4
nodejs-function-bind.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: Raynos/function-bind
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user