diff --git a/es-abstract-1.13.0.tgz b/es-abstract-1.13.0.tgz new file mode 100644 index 0000000..4ace720 Binary files /dev/null and b/es-abstract-1.13.0.tgz differ diff --git a/nodejs-es-abstract.spec b/nodejs-es-abstract.spec new file mode 100644 index 0000000..400f3ce --- /dev/null +++ b/nodejs-es-abstract.spec @@ -0,0 +1,43 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-es-abstract +Version: 1.13.0 +Release: 1 +Summary: ECMAScript spec abstract operations +License: MIT +URL: https://github.com/ljharb/es-abstract +Source0: https://registry.npmjs.org/es-abstract/-/es-abstract-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging +BuildRequires: npm(es-to-primitive) npm(foreach) npm(function-bind) npm(is-callable) +BuildRequires: npm(is-regex) npm(object.assign) npm(object-is) npm(tape) +%description +ECMAScript spec abstract operations. When different versions of the +spec conflict, the default export will be the latest version of the +abstract operation. All abstract operations will also be available +under an es5/es6/es7 exported property if you require a specific version. + +%prep +%autosetup -p 1 -n package +%nodejs_fixdep has "^1.0.2" +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/es-abstract +cp -pr package.json *.js helpers %{buildroot}%{nodejs_sitelib}/es-abstract +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%{__nodejs} test/index.js + +%files +%doc README.md CHANGELOG.md +%license LICENSE +%{nodejs_sitelib}/es-abstract + +%changelog +* Tue Aug 18 2020 Anan Fu - 1.13.0-1 +- package init diff --git a/nodejs-es-abstract.spec.old b/nodejs-es-abstract.spec.old new file mode 100644 index 0000000..5ef9430 --- /dev/null +++ b/nodejs-es-abstract.spec.old @@ -0,0 +1,105 @@ +%{?nodejs_find_provides_and_requires} + +Name: nodejs-es-abstract +Version: 1.13.0 +Release: 3%{?dist} +Summary: ECMAScript spec abstract operations + +License: MIT +URL: https://github.com/ljharb/es-abstract +Source0: https://registry.npmjs.org/es-abstract/-/es-abstract-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging + +BuildRequires: npm(es-to-primitive) +BuildRequires: npm(foreach) +BuildRequires: npm(function-bind) +BuildRequires: npm(is-callable) +BuildRequires: npm(is-regex) +BuildRequires: npm(object.assign) +BuildRequires: npm(object-is) +BuildRequires: npm(tape) + + +%description +ECMAScript spec abstract operations. When different versions of the +spec conflict, the default export will be the latest version of the +abstract operation. All abstract operations will also be available +under an es5/es6/es7 exported property if you require a specific version. + + +%prep +%autosetup -p 1 -n package +%nodejs_fixdep has "^1.0.2" +rm -rf node_modules + + +%build + + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/es-abstract +cp -pr package.json *.js helpers %{buildroot}%{nodejs_sitelib}/es-abstract +%nodejs_symlink_deps + + +%check +%nodejs_symlink_deps --check +%{__nodejs} test/index.js + + +%files +%doc README.md CHANGELOG.md +%license LICENSE +%{nodejs_sitelib}/es-abstract + + +%changelog +* Sat Feb 9 2019 Tom Hughes - 1.13.0-3 +- Re-enable tests + +* Sat Feb 9 2019 Tom Hughes - 1.13.0-2 +- Fix npm(has) dependency +- Disable tests + +* Mon Feb 4 2019 Tom Hughes - 1.13.0-1 +- Update to 1.13.0 upstream release + +* Mon Feb 4 2019 Tom Hughes - 1.7.0-1 +- Update to 1.7.0 upstream release + +* Fri Feb 01 2019 Fedora Release Engineering - 1.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.5.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.5.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 1 2016 Tom Hughes - 1.5.1-1 +- Update to 1.5.1 upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 1.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 5 2016 Tom Hughes - 1.5.0-2 +- Patch tests for changes in es-to-primitive@1.1.1 + +* Mon Dec 28 2015 Tom Hughes - 1.5.0-1 +- Update to 1.5.0 upstream release + +* Sun Nov 29 2015 Tom Hughes - 1.4.3-1 +- Update to 1.4.3 upstream release +- Install helpers directory + +* Thu Oct 22 2015 Tom Hughes - 1.4.0-1 +- Initial build of 1.4.0 diff --git a/nodejs-es-abstract.yaml b/nodejs-es-abstract.yaml new file mode 100644 index 0000000..68cd9ef --- /dev/null +++ b/nodejs-es-abstract.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: ljharb/es-abstract +tag_prefix: "^" +seperator: "."