From 9d2ab198fe4f50619d1f4e235e7b0f76f336d6bdaebb29b6d8ec2bdc9b3d689f Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Fri, 8 Mar 2024 17:39:34 +0000 Subject: [PATCH] Accepting request 1156266 from home:dimstar:Factory Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1156266 OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=132 --- 0ad.changes | 5 +++++ 0ad.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/0ad.changes b/0ad.changes index fc520da..49572f1 100644 --- a/0ad.changes +++ b/0ad.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 8 07:44:09 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Dec 5 22:44:36 UTC 2023 - Aaron Puchert diff --git a/0ad.spec b/0ad.spec index d35b7c9..76d6046 100644 --- a/0ad.spec +++ b/0ad.spec @@ -1,7 +1,7 @@ # # spec file for package 0ad # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -99,13 +99,13 @@ flexible game engine. %prep %setup -q -n %{name}-%{version}-alpha -%patch0 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%patch -P 0 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 %if %{with system_mozjs} -%patch1 -p1 -%patch2 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 %endif %build