!2 Adapt install require version due to path-exists updated

From: @wang--ge 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2023-12-27 03:19:17 +00:00 committed by Gitee
commit 983d0f3b56
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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