From 6d0a55775b6aff2725704abef8ccf1a8f9667608 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Wed, 27 Dec 2023 10:44:05 +0800 Subject: [PATCH] Adapt install require version due to path-exists updated --- nodejs-locate-path.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nodejs-locate-path.spec b/nodejs-locate-path.spec index 23bca31..78f70a7 100644 --- a/nodejs-locate-path.spec +++ b/nodejs-locate-path.spec @@ -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 - 2.0.0-2 +- Adapt install require due to path-exists updated + * Mon Aug 17 2020 wutao - 2.0.0-1 - Package init