[packages/binutils] use %patch -P

atler atler at pld-linux.org
Mon Jul 14 12:45:13 CEST 2025


commit 243e9618dffe278d56db3bf5f12eb86081e124d7
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jul 14 10:09:46 2025 +0200

    use %patch -P

 binutils.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/binutils.spec b/binutils.spec
index 49d602f..024f638 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -221,14 +221,14 @@ Biblioteki statyczne narzędzia profilującego GNU Next Generation.
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%{?with_pax:%patch3 -p1}
-
-%patch6 -p1
-%patch7 -p1
-%patch9 -p1
-%patch10 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%{?with_pax:%patch -P3 -p1}
+
+%patch -P6 -p1
+%patch -P7 -p1
+%patch -P9 -p1
+%patch -P10 -p1
 
 %{__sed} -i -e '1s,.*env perl,#!%{__perl},' gprofng/gp-display-html/gp-display-html.in
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/binutils.git/commitdiff/a6f4dad86f5a1a4f34d3e15b66a5595df363fc83



More information about the pld-cvs-commit mailing list