[packages/iptables] - use patch -P

qboosh qboosh at pld-linux.org
Fri Apr 4 18:08:17 CEST 2025


commit d90d446116b53b93bdc15c3b255198c767681f8a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 4 17:41:47 2025 +0200

    - use patch -P

 iptables.spec | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/iptables.spec b/iptables.spec
index 2272d2e..c6bd6da 100644
--- a/iptables.spec
+++ b/iptables.spec
@@ -235,24 +235,24 @@ Uwaga: nie jest to w pełni zgodny zamiennik!
 
 %prep
 %setup -q -n iptables-%{version} -a1
-%patch0 -p1
+%patch -P0 -p1
 %if %{with batch}
-%patch1 -p1
+%patch -P1 -p1
 %endif
-%patch2 -p1
-%patch3 -p1
+%patch -P2 -p1
+%patch -P3 -p1
 
-%{?with_ipt_IPV4OPTSSTRIP:%patch10 -p1}
-%{?with_xt_layer7:%patch11 -p1}
-%{?with_ipt_rpc:%patch12 -p1}
-%patch13 -p1
+%{?with_ipt_IPV4OPTSSTRIP:%patch -P10 -p1}
+%{?with_xt_layer7:%patch -P11 -p1}
+%{?with_ipt_rpc:%patch -P12 -p1}
+%patch -P13 -p1
 %if %{with vserver}
-%patch14 -p1
-%patch15 -p1
+%patch -P14 -p1
+%patch -P15 -p1
 %endif
-%patch16 -p1
+%patch -P16 -p1
 %if %{with nftables} && %{with default_nft}
-%patch18 -p1
+%patch -P18 -p1
 %endif
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iptables.git/commitdiff/5a9706effe7f2cb03baf6ec38df07a92fe85e39f



More information about the pld-cvs-commit mailing list