!4 [sync] PR-3: fix build warnings: patchN is deprecated, use patch N (or %patch -P N)

From: @openeuler-sync-bot 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2025-02-14 06:28:10 +00:00 committed by Gitee
commit e71b3c7f1c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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