From d347b64a5b9345346ce36c8be0baea7d31d0d74c96f6b09f23ab9ab104f2faa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 28 Nov 2023 13:20:06 +0000 Subject: [PATCH] Accepting request 1129522 from GNOME:Next Use %patch -p N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1129522 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=445 --- gtk3.changes | 5 +++++ gtk3.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gtk3.changes b/gtk3.changes index 92f048e..38f4b4d 100644 --- a/gtk3.changes +++ b/gtk3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 28 11:50:22 UTC 2023 - Dominique Leuenberger + +- Use %patch -p N instead of deprecated %patchN. + ------------------------------------------------------------------- Sun Oct 8 07:48:06 UTC 2023 - Yifan Jiang diff --git a/gtk3.spec b/gtk3.spec index c386c83..f0426d9 100644 --- a/gtk3.spec +++ b/gtk3.spec @@ -386,7 +386,7 @@ cp -a %{SOURCE1} . %if !0%{?sle_version} %autopatch -p1 0 %else -%patch0 -p1 +%patch -P 0 -p1 %endif %endif @@ -394,7 +394,7 @@ cp -a %{SOURCE1} . # Apply patches 1 to 999 (1 >= 999) %autopatch -p1 -m 1 -M 999 %else -%patch1 -p1 +%patch -P 1 -p1 %endif %build