From b65b33258941b46d2c8a2b03c6850b78f6047134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Fri, 13 Dec 2024 10:12:06 +0000 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) (cherry picked from commit 911d7f0c623af7e71f74fac3f4d783c249f6b527) --- gtk2-engines.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gtk2-engines.spec b/gtk2-engines.spec index f70fad9..a4c1820 100644 --- a/gtk2-engines.spec +++ b/gtk2-engines.spec @@ -1,7 +1,7 @@ Summary: Theme engines for GTK+ 2.0 Name: gtk2-engines Version: 2.20.2 -Release: 20 +Release: 21 # for details on which engines are GPL vs LGPL, see COPYING License: LGPLv2+ #VCS: git:git://git.gnome.org/gtk-engines @@ -43,10 +43,10 @@ software that uses the theme engines in the gtk2-engines package. %prep %setup -q -n gtk-engines-%{version} -%patch0 -p1 -b .bullet -%patch1 -p1 -b .tooltips -%patch2 -p1 -b .mnemonics -%patch3 -p1 -b .window-dragging +%patch 0 -p1 -b .bullet +%patch 1 -p1 -b .tooltips +%patch 2 -p1 -b .mnemonics +%patch 3 -p1 -b .window-dragging %build %configure --disable-static @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.4.0/engines/libredmond95.so %{_libdir}/pkgconfig/gtk-engines-2.pc %changelog +* Fri Dec 13 2024 litian - 2.20.2-21 +- fix %patchN is deprecated warning + * Mon Jun 13 2022 tanyulong - 2.20.2-20 - Remove the release suffix -- Gitee