fix build warnings: patchN is deprecated, use patch N (or %patch -P N)

(cherry picked from commit 911d7f0c623af7e71f74fac3f4d783c249f6b527)
This commit is contained in:
李恬 2024-12-13 10:12:06 +00:00 committed by openeuler-sync-bot
parent 70970e560c
commit b65b332589

View File

@ -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 <dev11105@linx-info.com> - 2.20.2-21
- fix %patchN is deprecated warning
* Mon Jun 13 2022 tanyulong <tanyulong@kylinos.cn> - 2.20.2-20
- Remove the release suffix