[packages/dhcp] Fix applying patches.

arekm arekm at pld-linux.org
Mon Jul 14 23:13:37 CEST 2025


commit ed814f14541373b2b3463d560fda68f80203d597
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 14 23:13:21 2025 +0200

    Fix applying patches.

 dhcp.spec | 60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/dhcp.spec b/dhcp.spec
index 7073553..a5d9d32 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -223,7 +223,7 @@ komunikacji z działającym serwerem ISC DHCP i jego kontroli.
 
 %prep
 %setup -q -n %{name}-%{ver}%{pverdir}
-%patch0 -p1
+%patch -P0 -p1
 # This patch is required for dhcdbd to function
 # CHECK ME: adds -x (formerly -y):
 #The -x argument enables extended option information to be created in the
@@ -232,41 +232,41 @@ komunikacji z działającym serwerem ISC DHCP i jego kontroli.
 #this is a Red Hat extension to support dhcdbd and NetworkManager.
 # however, fedora doesn't have this patch anymore, so can drop?
 #%%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%patch24 -p1
-%patch25 -p1
-%patch26 -p1
-%patch27 -p1
-%patch28 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
+%patch -P6 -p1
+%patch -P7 -p1
+%patch -P8 -p1
+%patch -P9 -p1
+%patch -P10 -p1
+%patch -P11 -p1
+%patch -P12 -p1
+%patch -P13 -p1
+%patch -P14 -p1
+%patch -P15 -p1
+%patch -P16 -p1
+%patch -P17 -p1
+%patch -P18 -p1
+%patch -P19 -p1
+%patch -P20 -p1
+%patch -P21 -p1
+%patch -P22 -p1
+%patch -P23 -p1
+%patch -P24 -p1
+%patch -P25 -p1
+%patch -P26 -p1
+%patch -P27 -p1
+%patch -P28 -p1
 
 cd bind
 tar -xvf bind.tar.gz
 ln -s bind-9* bind
 cd ..
 
-%patch29 -p1
-%patch30 -p1
+%patch -P29 -p1
+%patch -P30 -p1
 
 # Copy in documentation and example scripts for LDAP patch to dhcpd
 cp -a %{SOURCE11} README.ldap
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dhcp.git/commitdiff/ed814f14541373b2b3463d560fda68f80203d597



More information about the pld-cvs-commit mailing list