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