[packages/file] - use patch -P

baggins baggins at pld-linux.org
Mon Mar 10 11:37:46 CET 2025


commit 2f407706e456452b8bd446651cae25a649340c56
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 10 11:35:41 2025 +0100

    - use patch -P

 file.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/file.spec b/file.spec
index e4f5a4e..d428c18 100644
--- a/file.spec
+++ b/file.spec
@@ -286,10 +286,10 @@ Wiązania Pythona 3 do biblioteki libmagic.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
 
 %if "%{_ver_lt '%{cc_version}' '3.4'}" == "1"
 %{__sed} -i -e 's,-Wextra,,' configure.ac
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/2f407706e456452b8bd446651cae25a649340c56



More information about the pld-cvs-commit mailing list