!3 Update to 2.1.0

From: @wu-leilei 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-09-15 02:36:08 +00:00 committed by Gitee
commit c0403236db
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 4 deletions

Binary file not shown.

View File

@ -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 <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
- License compliance rectification

BIN
v2.1.0.tar.gz Normal file

Binary file not shown.