commit f9bf3172aa7fd56296c43db756496ba244405f8e
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Aug 3 01:18:39 2024 +0100
Fix error: %patchN is obsolete
wormsofprey.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wormsofprey.spec b/wormsofprey.spec
index 3ffa567..029455e 100644
--- a/wormsofprey.spec
+++ b/wormsofprey.spec
@@ -25,8 +25,8 @@ and Multiple moving goals.
%prep
%setup -q -n wop-%{version}
-%patch0 -p1
-%patch1 -p1
+%patch -P0 -p1
+%patch -P1 -p1
sed -i 's|^CXXFLAGS ?= .*|CXXFLAGS ?= %{optflags}|' sdlwidgets/Makefile \
src/Makefile
sed -i 's|data = ./data|data = %{_datadir}/%{name}|' woprc