[packages/devscripts] - use patch -P

baggins baggins at pld-linux.org
Tue Mar 11 13:58:06 CET 2025


commit 540b020fe529e9190612c13598011c4f89056d0e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 11 13:08:54 2025 +0100

    - use patch -P

 devscripts.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/devscripts.spec b/devscripts.spec
index 7ecea24..1826cfd 100644
--- a/devscripts.spec
+++ b/devscripts.spec
@@ -56,9 +56,9 @@ bash-specific contructs.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
 
 # PLD package names
 # grep -r 'you must have the.*package installed' .
@@ -76,7 +76,7 @@ bash-specific contructs.
 # LIBDIR determines where libvfork gets installed, see scripts/Makefile for LIBDIR
 %{__make} \
 	LIBDIR=%{_libdir}/%{name} \
-	CFLAGS="$RPM_OPT_FLAGS" \
+	CFLAGS="%{rpmcflags}" \
 	LDFLAGS="$RPM_LD_FLAGS"
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/devscripts.git/commitdiff/540b020fe529e9190612c13598011c4f89056d0e



More information about the pld-cvs-commit mailing list