[packages/npm] use %patch -P

atler atler at pld-linux.org
Thu Jul 10 13:11:47 CEST 2025


commit a253beddb537d1bef521e7148ce22ff47a62b055
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jun 29 22:33:35 2025 +0200

    use %patch -P

 npm.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/npm.spec b/npm.spec
index bc3f369..22cda00 100644
--- a/npm.spec
+++ b/npm.spec
@@ -55,8 +55,8 @@ bashowe uzupełnianie parametrów dla poleceń NPM.
 %prep
 %setup -qc
 %{__mv} package/* .
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
 
 grep -rl '#!.*env \(node\|python\|sh\|bash\)' . | xargs %{__sed} -i -e '1{
 	s,^#!.*bin/env bash,#!%{__bash},
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/npm.git/commitdiff/5352c0dacf2ffbc52f9dc11f6aea8ed125dfc5e6



More information about the pld-cvs-commit mailing list