From 99ff09cbc3e1ee5606036e321e3d6c7a330c7624 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Fri, 10 Feb 2023 17:36:19 +0800 Subject: [PATCH] Fix build failed due to nodejs update to 16.15.0 --- nodejs-is-regex.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nodejs-is-regex.spec b/nodejs-is-regex.spec index 13c346c..902ddd0 100644 --- a/nodejs-is-regex.spec +++ b/nodejs-is-regex.spec @@ -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 - 1.0.4-2 +- Fix build failed due to nodejs update to 16.15.0 + * Thu Aug 20 2020 wangxiao - 1.0.4-1 - Package init