[packages/quake2forge] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:37:48 CEST 2025
commit cd7bb8c849966e37aedc1907560f92f16424ab22
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:37:33 2025 +0200
Fix applying patches.
quake2forge.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/quake2forge.spec b/quake2forge.spec
index 1d17ec6..7ea9293 100644
--- a/quake2forge.spec
+++ b/quake2forge.spec
@@ -286,17 +286,17 @@ Quake2Forge: The Reckoning (zestaw misji).
%prep
%setup -q -n quake2-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
%if %{with rogue}
cd src/rogue
gzip -dc %{SOURCE10} | %{__sed} s/"^more "/"cat >LICENSE.rogue "/ >rogue.shar
echo yes| sh rogue.shar
cd ../..
-%patch6 -p1
+%patch -P6 -p1
%endif
%if %{with xatrix}
@@ -304,10 +304,10 @@ cd src/xatrix
gunzip -c %{SOURCE11} | %{__sed} s/"^more "/"cat >LICENSE.xatrix "/ >xatrix.shar
echo yes| sh xatrix.shar
cd ../..
-%patch7 -p1
+%patch -P7 -p1
%endif
-%patch8 -p1
-%patch9 -p1
+%patch -P8 -p1
+%patch -P9 -p1
%build
%{__libtoolize}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/quake2forge.git/commitdiff/cd7bb8c849966e37aedc1907560f92f16424ab22
More information about the pld-cvs-commit
mailing list