[packages/nodejs-gyp] use %patch -P

atler atler at pld-linux.org
Thu Jul 10 14:52:05 CEST 2025


commit 42d2dd3c63277f02499bf0cc35ae6a3c0a4361da
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jul 7 20:31:38 2025 +0200

    use %patch -P

 nodejs-gyp.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nodejs-gyp.spec b/nodejs-gyp.spec
index c9b7c99..e918064 100644
--- a/nodejs-gyp.spec
+++ b/nodejs-gyp.spec
@@ -57,8 +57,8 @@ replacement to the node-waf program which is removed for node v0.8.
 %prep
 %setup -qc
 mv package/* .
-%{?with_system_gyp:%patch0 -p1}
-%patch1 -p1
+%{?with_system_gyp:%patch -P0 -p1}
+%patch -P1 -p1
 
 # fix shebangs
 %{__sed} -i -e '1s,^#!.*node,#!/usr/bin/node,' \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-gyp.git/commitdiff/c88614272c40fabcdf174d1439289c1995a9fa4d



More information about the pld-cvs-commit mailing list