From ebd79cffc29eb0cf204abdbdca0175ed9b97e00ae27ec04f1123c3b50e8c88db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 28 Nov 2023 13:13:23 +0000 Subject: [PATCH] Accepting request 1129545 from GNOME:Next Use %patch -p N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1129545 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=409 --- gnome-settings-daemon.changes | 5 +++++ gnome-settings-daemon.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) 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