!2 Fix build failed due to nodejs update to 16.15.0

From: @starlet-dx 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-02-10 09:45:52 +00:00 committed by Gitee
commit 991529bdd6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-is-regex
Version: 1.0.4
Release: 1
Release: 2
Summary: Is this value a JS regex?
License: MIT
URL: https://github.com/ljharb/is-regex
@ -26,7 +26,7 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-regex
%check
%nodejs_symlink_deps --check
%{__nodejs} --harmony --es-staging test.js
%{__nodejs} --harmony test.js
%files
%{!?_licensedir:%global license %doc}
@ -35,5 +35,8 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-regex
%{nodejs_sitelib}/is-regex
%changelog
* Fri Feb 10 2023 yaoxin <yaoxin30@h-partners.com> - 1.0.4-2
- Fix build failed due to nodejs update to 16.15.0
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.4-1
- Package init