[packages/openssh-legacy] use %patch -P

atler atler at pld-linux.org
Fri Feb 14 01:46:20 CET 2025


commit 2f3f12446f2e9519688517777d086a89a4bb8b2a
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 13 23:50:23 2025 +0100

    use %patch -P

 openssh-legacy.spec | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/openssh-legacy.spec b/openssh-legacy.spec
index ab13df0..de40b7d 100644
--- a/openssh-legacy.spec
+++ b/openssh-legacy.spec
@@ -249,23 +249,23 @@ Ssh (Secure Shell) - це програма для "заходу" (login) до в
 
 %prep
 %setup -q -n openssh-%{version}
-#%%patch100 -p1
+#%%patch -P100 -p1
 
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P7 -p1
+%patch -P8 -p1
 
-%patch11 -p1
+%patch -P11 -p1
 
-%patch13 -p1
+%patch -P13 -p1
 
-%patch14 -p1
+%patch -P14 -p1
 
 # hack since arc4random from openbsd-compat needs symbols from libssh and vice versa
 sed -i -e 's#-lssh -lopenbsd-compat#-lssh -lopenbsd-compat -lssh -lopenbsd-compat#g' Makefile*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh-legacy.git/commitdiff/8153bf7aa8925b463fc35a5faa4ef55f631b0a99



More information about the pld-cvs-commit mailing list