diff --git a/1.9.0.tar.gz b/1.9.0.tar.gz deleted file mode 100644 index 8324c1c..0000000 Binary files a/1.9.0.tar.gz and /dev/null differ diff --git a/nodejs-escodegen.spec b/nodejs-escodegen.spec index 2a25b10..cb06fa4 100644 --- a/nodejs-escodegen.spec +++ b/nodejs-escodegen.spec @@ -1,12 +1,12 @@ %{?nodejs_find_provides_and_requires} %global enable_tests 0 Name: nodejs-escodegen -Version: 1.9.0 -Release: 2 +Version: 2.1.0 +Release: 1 Summary: ECMAScript code generator License: BSD-2-Clause URL: https://github.com/Constellation/escodegen -Source0: https://github.com/Constellation/escodegen/archive/%{version}.tar.gz +Source0: https://github.com/estools/escodegen/archive/refs/tags/v%{version}.tar.gz Source10: dl-tests.sh BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -22,6 +22,7 @@ BuildRequires: npm(mocha) npm(chai) npm(estraverse) npm(esutils) npm(sourc %nodejs_fixdep esprima %nodejs_fixdep estraverse %nodejs_fixdep source-map "^0.5.2" +%nodejs_fixdep optionator "^0.8.1" rm -f *.min.js sed -i '1s/env //' bin/*.js @@ -51,12 +52,15 @@ ln -sf %{nodejs_sitelib}/escodegen/bin/esgenerate.js \ %files %{!?_licensedir:%global license %doc} -%license LICENSE.BSD LICENSE.source-map +%license LICENSE.BSD %{nodejs_sitelib}/escodegen %{_bindir}/escodegen.js %{_bindir}/esgenerate.js %changelog +* Thu Sep 14 2023 wulei - 2.1.0-1 +- Update to 2.1.0 + * Mon May 9 2022 liyanan - 1.9.0-2 - License compliance rectification diff --git a/v2.1.0.tar.gz b/v2.1.0.tar.gz new file mode 100644 index 0000000..6b9bf7a Binary files /dev/null and b/v2.1.0.tar.gz differ