[packages/util-linux] use %patch -P

atler atler at pld-linux.org
Sat Feb 22 19:40:06 CET 2025


commit a6b6ca5003150f48aa8545380556972ac69b21fb
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Feb 22 19:21:38 2025 +0100

    use %patch -P

 util-linux.spec | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/util-linux.spec b/util-linux.spec
index a1404a7..505b4dc 100644
--- a/util-linux.spec
+++ b/util-linux.spec
@@ -893,13 +893,13 @@ Bashowe dopełnianie parametrów dla poleceń z pakietu util-linux.
 
 %prep
 %setup -q -a1
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch7 -p1
-%{?with_initrd:%patch6 -p1}
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P7 -p1
+%{?with_initrd:%patch -P6 -p1}
 
 # obsolete programs, remove non-english man pages
 %{__rm} man/*/man1/{arch,chkdupexe,ddate,reset}.1 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/util-linux.git/commitdiff/a6b6ca5003150f48aa8545380556972ac69b21fb



More information about the pld-cvs-commit mailing list