!2 修复spdx-correct and spdx-expression-parse升级导致的nodejs-validate-npm-package-license安装问题

From: @wu-leilei 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-11-02 02:31:13 +00:00 committed by Gitee
commit f92dcfb0f8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -5,7 +5,7 @@
Name: nodejs-validate-npm-package-license
Version: 3.0.1
Release: 1
Release: 2
Summary: Validates an npm package license string
License: ASL 2.0
@ -29,7 +29,8 @@ Give me a string and I'll tell you if it's a valid npm package license string.
%prep
%setup -q -n package
%nodejs_fixdep spdx-correct '^2.0.4'
%nodejs_fixdep spdx-expression-parse '^2.0.2'
%build
# nothing to do!
@ -58,5 +59,8 @@ defence README.md | replace-require-self | node
%changelog
* Mon Oct 30 2023 wulei <wu_lei@hoperun.com> - 3.0.1-2
- Modify spdx-correct and spdx-expression-parse version to fix install problem
* Wed Aug 12 2020 wangxiao <wangxiao65@huawei.com> - 3.0.1-1
- package init