Update to 2.1.0
This commit is contained in:
parent
d5eefcead6
commit
783a5b9cd2
BIN
1.9.0.tar.gz
BIN
1.9.0.tar.gz
Binary file not shown.
@ -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
BIN
v2.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user