Fix build failed due to nodejs update to 16.15.0

This commit is contained in:
starlet-dx 2023-02-10 17:28:53 +08:00
parent 5c7f4d7c6c
commit 68b20a9fe6

View File

@ -1,7 +1,7 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-is-date-object
Version: 1.0.1
Release: 1
Release: 2
Summary: Is this value a JS Date object?
License: MIT
URL: https://github.com/ljharb/is-date-object
@ -26,7 +26,7 @@ cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-date-object
%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-date-object
%{nodejs_sitelib}/is-date-object
%changelog
* Fri Feb 10 2023 yaoxin <yaoxin30@h-partners.com> - 1.0.1-2
- Fix build failed due to nodejs update to 16.15.0
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.1-1
- Package init