Update to 2.1.0

This commit is contained in:
wu-leilei 2023-09-14 14:51:07 +08:00
parent d5eefcead6
commit 783a5b9cd2
3 changed files with 8 additions and 4 deletions

Binary file not shown.

View File

@ -1,12 +1,12 @@
%{?nodejs_find_provides_and_requires} %{?nodejs_find_provides_and_requires}
%global enable_tests 0 %global enable_tests 0
Name: nodejs-escodegen Name: nodejs-escodegen
Version: 1.9.0 Version: 2.1.0
Release: 2 Release: 1
Summary: ECMAScript code generator Summary: ECMAScript code generator
License: BSD-2-Clause License: BSD-2-Clause
URL: https://github.com/Constellation/escodegen 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 Source10: dl-tests.sh
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{nodejs_arches} 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 esprima
%nodejs_fixdep estraverse %nodejs_fixdep estraverse
%nodejs_fixdep source-map "^0.5.2" %nodejs_fixdep source-map "^0.5.2"
%nodejs_fixdep optionator "^0.8.1"
rm -f *.min.js rm -f *.min.js
sed -i '1s/env //' bin/*.js sed -i '1s/env //' bin/*.js
@ -51,12 +52,15 @@ ln -sf %{nodejs_sitelib}/escodegen/bin/esgenerate.js \
%files %files
%{!?_licensedir:%global license %doc} %{!?_licensedir:%global license %doc}
%license LICENSE.BSD LICENSE.source-map %license LICENSE.BSD
%{nodejs_sitelib}/escodegen %{nodejs_sitelib}/escodegen
%{_bindir}/escodegen.js %{_bindir}/escodegen.js
%{_bindir}/esgenerate.js %{_bindir}/esgenerate.js
%changelog %changelog
* Thu Sep 14 2023 wulei <wu_lei@hoperun.com> - 2.1.0-1
- Update to 2.1.0
* Mon May 9 2022 liyanan <liyanan32@h-partners.com> - 1.9.0-2 * Mon May 9 2022 liyanan <liyanan32@h-partners.com> - 1.9.0-2
- License compliance rectification - License compliance rectification

BIN
v2.1.0.tar.gz Normal file

Binary file not shown.