[packages/VirtualBox] - Updated %patch syntax.

lmasko lmasko at pld-linux.org
Sun Feb 9 11:14:37 CET 2025


commit eb4bbfe695a6f82744c6bc30876d5de07817bed4
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Sun Feb 9 10:09:37 2025 +0100

    - Updated %patch syntax.

 VirtualBox.spec | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/VirtualBox.spec b/VirtualBox.spec
index b2374a4..b8fa3fb 100644
--- a/VirtualBox.spec
+++ b/VirtualBox.spec
@@ -544,27 +544,27 @@ echo override vboxsf %{_kernel_ver} misc >> kernel/installed/etc/depmod.d/%{_ker
 
 %prep
 %setup -q -n %{pname}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch4 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
+%patch -P 4 -p1
+%patch -P 6 -p1
+%patch -P 7 -p1
+%patch -P 8 -p1
+%patch -P 9 -p1
+%patch -P 10 -p1
 %if %{with all_langs}
-%patch11 -p0
+%patch -P 11 -p0
 %endif
-%patch13 -p1
-%patch15 -p0
-%patch16 -p0
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
+%patch -P 13 -p1
+%patch -P 15 -p0
+%patch -P 16 -p0
+%patch -P 17 -p1
+%patch -P 18 -p1
+%patch -P 19 -p1
+%patch -P 20 -p1
+%patch -P 21 -p1
+%patch -P 22 -p1
 
 %{__sed} -i -e 's, at VBOX_DOC_PATH@,%{_docdir}/%{name}-%{version},' \
 	-e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/common/virtualbox.desktop.in
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/VirtualBox.git/commitdiff/eb4bbfe695a6f82744c6bc30876d5de07817bed4



More information about the pld-cvs-commit mailing list