[packages/net-snmp] - use patch -P
qboosh
qboosh at pld-linux.org
Sat Feb 1 13:53:14 CET 2025
commit bc9448f129d1558acd91ea3d96c6c71f453f6d47
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 1 13:04:46 2025 +0100
- use patch -P
net-snmp.spec | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/net-snmp.spec b/net-snmp.spec
index b232c97..0268e3f 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -445,22 +445,22 @@ SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
%prep
%setup -q -a7
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch10 -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
+%patch -P10 -p1
%if %{with rpm5}
-%patch11 -p1
+%patch -P11 -p1
%endif
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
+%patch -P12 -p1
+%patch -P13 -p1
+%patch -P14 -p1
+%patch -P15 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
perl/SNMP/examples/pingmib.pl
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/net-snmp.git/commitdiff/bc9448f129d1558acd91ea3d96c6c71f453f6d47
More information about the pld-cvs-commit
mailing list