[packages/quake2] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 02:37:45 CEST 2025
commit d9c40fb2fba54a8789f6e7bbf29794c0b71acd9c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 02:37:30 2025 +0200
Fix applying patches.
quake2.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/quake2.spec b/quake2.spec
index 7d79c6c..1e44dc9 100644
--- a/quake2.spec
+++ b/quake2.spec
@@ -184,8 +184,8 @@ Quake II: The Reckoning (zestaw misji).
%prep
%setup -q -c
mv -f %{name}-%{version}/* .
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
%if %{with rogue}
install -d rogue
@@ -193,7 +193,7 @@ cd rogue
gzip -dc %{SOURCE10} | %{__sed} s/"^more "/"cat >LICENSE.rogue "/ >rogue.shar
echo yes| sh rogue.shar
cd ..
-%patch2 -p1
+%patch -P2 -p1
%endif
%if %{with xatrix}
@@ -202,7 +202,7 @@ cd xatrix
gunzip -c %{SOURCE11} | %{__sed} s/"^more "/"cat >LICENSE.xatrix "/ >xatrix.shar
echo yes| sh xatrix.shar
cd ..
-%patch3 -p1
+%patch -P3 -p1
%endif
%build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/quake2.git/commitdiff/d9c40fb2fba54a8789f6e7bbf29794c0b71acd9c
More information about the pld-cvs-commit
mailing list