[packages/libvirt] use %patch -P

atler atler at pld-linux.org
Sat Mar 29 18:21:49 CET 2025


commit 8b375950b256ecc81ca39ca73cf951d2f5eca27c
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Mar 29 17:33:30 2025 +0100

    use %patch -P

 libvirt.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libvirt.spec b/libvirt.spec
index 0a86f6a..7e2a353 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -520,12 +520,12 @@ Moduł sekcji Wiresharka do pakietów libvirt.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%{?with_vserver:%patch5 -p1}
-%patch6 -p1
+%patch -P0 -p1
+%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%{?with_vserver:%patch -P5 -p1}
+%patch -P6 -p1
 
 %if %{with static_libs}
 %{__sed} -i '/^libvirt\(_admin\|_lxc\|_qemu\)\?_lib = / s/shared_library/library/' src/meson.build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/cb2f1a6caf56db420825d87ec5104fc12a922d8c



More information about the pld-cvs-commit mailing list