[packages/samba] - use patch -P

qboosh qboosh at pld-linux.org
Thu Jan 9 20:08:44 CET 2025


commit ccbee858aa15b806f17dfe57921548b7f4870905
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jan 9 19:53:54 2025 +0100

    - use patch -P

 samba.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index 9317884..3b5d471 100644
--- a/samba.spec
+++ b/samba.spec
@@ -649,17 +649,17 @@ Wiązania Pythona 3 do biblioteki LDB.
 
 %prep
 %setup -q
-%{?with_system_heimdal:%patch0 -p1}
-%patch1 -p1
-%patch2 -p1
-%patch4 -p1
-%{?with_system_heimdal:%patch5 -p1}
-%patch6 -p1
-
-%{!?with_system_libbsd:%patch8 -p1}
+%{?with_system_heimdal:%patch -P0 -p1}
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P4 -p1
+%{?with_system_heimdal:%patch -P5 -p1}
+%patch -P6 -p1
+
+%{!?with_system_libbsd:%patch -P8 -p1}
 %if %{without system_heimdal}
 %ifnarch %arch_with_atomics64
-%patch9 -p1
+%patch -P9 -p1
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/samba.git/commitdiff/ccbee858aa15b806f17dfe57921548b7f4870905



More information about the pld-cvs-commit mailing list