From ddf96e3c6ed7b712704a12108dc9998be7cc7b077d2c691284077161898c1da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 28 Nov 2023 13:19:28 +0000 Subject: [PATCH] Accepting request 1129525 from GNOME:Next Use %patch -p N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1129525 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk2?expand=0&rev=294 --- gtk2.changes | 5 +++++ gtk2.spec | 18 +++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gtk2.changes b/gtk2.changes index 7100bea..dfd9aeb 100644 --- a/gtk2.changes +++ b/gtk2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 28 11:52:33 UTC 2023 - Dominique Leuenberger + +- Use %patch -p N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Aug 15 19:13:13 UTC 2022 - Dirk Müller diff --git a/gtk2.spec b/gtk2.spec index 6940ba2..3a2dbfd 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -1,7 +1,7 @@ # # spec file for package gtk2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -314,16 +314,16 @@ gnome-patch-translation-prepare %if "%{_lib}" == "lib64" cp -a %{SOURCE2} . # WARNING: This patch does not patch not installed demos and tests. -%patch0 -p1 +%patch -P 0 -p1 %endif -%patch1 -p1 -%patch2 -p1 -%patch3 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch8 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 +%patch -P 4 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 8 -p1 sed -i "s|/usr/bin/env python|%{_bindir}/python3|" ./gtk/gtk-builder-convert gnome-patch-translation-update