Adapt install require version due to path-exists updated

This commit is contained in:
wang--ge 2023-12-27 10:44:05 +08:00
parent e8572f1a5e
commit 6d0a55775b

View File

@ -3,7 +3,7 @@
%global enable_tests 0
Name: nodejs-locate-path
Version: 2.0.0
Release: 1
Release: 2
Summary: Get the first path that exists on disk of multiple paths
License: MIT
URL: https://github.com/sindresorhus/locate-path
@ -26,6 +26,7 @@ Get the first path that exists on disk of multiple paths
%autosetup -n package
%autosetup -T -D -a 1 -n package
cp -p %{SOURCE11} .
sed -i 's/3.0.0/4.0.0/g' package.json
%build
@ -50,5 +51,8 @@ cp -pr package.json index.js \
%{nodejs_sitelib}/%{packagename}
%changelog
* Wed Dec 27 2023 Ge Wang <wang__ge@126.com> - 2.0.0-2
- Adapt install require due to path-exists updated
* Mon Aug 17 2020 wutao <wutao61@huawei.com> - 2.0.0-1
- Package init