diff --git a/function-bind-1.1.1.tgz b/function-bind-1.1.1.tgz new file mode 100644 index 0000000..44bef16 Binary files /dev/null and b/function-bind-1.1.1.tgz differ diff --git a/nodejs-function-bind.spec b/nodejs-function-bind.spec new file mode 100644 index 0000000..909ed57 --- /dev/null +++ b/nodejs-function-bind.spec @@ -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 - 1.1.1-1 +- package init diff --git a/nodejs-function-bind.yaml b/nodejs-function-bind.yaml new file mode 100644 index 0000000..a9e938b --- /dev/null +++ b/nodejs-function-bind.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: Raynos/function-bind +tag_prefix: "^v" +seperator: "."