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.spec.old b/nodejs-function-bind.spec.old new file mode 100644 index 0000000..5163754 --- /dev/null +++ b/nodejs-function-bind.spec.old @@ -0,0 +1,78 @@ +Name: nodejs-function-bind +Version: 1.1.1 +Release: 4%{?dist} +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 +* Fri Feb 01 2019 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Aug 28 2017 Tom Hughes - 1.1.1-1 +- Update to 1.1.1 upstream release + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Feb 14 2016 Tom Hughes - 1.1.0-3 +- Enable tests + +* Sun Feb 14 2016 Tom Hughes - 1.1.0-2 +- Add implementation.js to package + +* Sun Feb 14 2016 Tom Hughes - 1.1.0-1 +- Update to 1.1.0 upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Aug 30 2015 Tom Hughes - 1.0.2-1 +- Initial build of 1.0.2 diff --git a/nodejs-function-bind.yaml b/nodejs-function-bind.yaml new file mode 100644 index 0000000..35522d0 --- /dev/null +++ b/nodejs-function-bind.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: Raynos/function-bind +tag_prefix: "^" +seperator: "."