diff --git a/gnome-settings-daemon.changes b/gnome-settings-daemon.changes index 4277d98..40c6b78 100644 --- a/gnome-settings-daemon.changes +++ b/gnome-settings-daemon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 28 12:06:23 UTC 2023 - Dominique Leuenberger + +- Use %patch -p N instead of deprecated %patchN. + ------------------------------------------------------------------- Sun Nov 26 12:06:19 UTC 2023 - Bjørn Lie diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index a28cfc4..c7f5385 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -152,18 +152,18 @@ contact the settings daemon via its DBus interface. %if ! 0%{?sle_version} %autopatch -p1 -M 999 %else -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 %endif # Enable the patches for both Leap 15 and SLE 15, please find the clarification at bsc#1158476. %if 0%{?sle_version} >= 150000 -%patch1000 -p1 -%patch1001 -p1 +%patch -P 1000 -p1 +%patch -P 1001 -p1 %endif %build