[packages/gcc] use %patch -P

atler atler at pld-linux.org
Wed Mar 5 22:53:25 CET 2025


commit 9bf8338e85520d5d5e2476bf301b460514f84395
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 4 23:19:42 2025 +0100

    use %patch -P

 gcc.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gcc.spec b/gcc.spec
index 9d30efc..5fde59e 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -2762,16 +2762,16 @@ więc wtyczki muszą być przebudowywane przy każdej aktualizacji GCC.
 
 %prep
 %setup -q
-%patch100 -p1
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-
-%patch10 -p1
+%patch -P100 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+
+%patch -P10 -p1
 %if %{with gcc_libffi}
-%patch11 -p0
+%patch -P11 -p0
 %endif
 
 %{__mv} ChangeLog ChangeLog.general
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/9bf8338e85520d5d5e2476bf301b460514f84395



More information about the pld-cvs-commit mailing list