diff --git a/gtksourceview2.spec b/gtksourceview2.spec index 4b3db33277bb896c347417df756b718a00b7c51b..07f57531098f67008c51972d369a6c5895b8c27c 100644 --- a/gtksourceview2.spec +++ b/gtksourceview2.spec @@ -6,7 +6,7 @@ Summary: A library for viewing source files Name: gtksourceview2 Version: 2.11.2 -Release: 1 +Release: 2 License: LGPLv2+ and GPLv2+ # the library itself is LGPL, some .lang files are GPL URL: http://gtksourceview.sourceforge.net/ @@ -46,10 +46,10 @@ applications which use GtkSourceView 2.x. %prep %setup -q -n gtksourceview-%{version} -%patch0 -p1 -b .cflags -%patch1 -p1 -b .gconst -#%%patch2 -p1 -b .addlibs -%patch3 -p1 -b .glib-deprecated +%patch 0 -p1 -b .cflags +%patch 1 -p1 -b .gconst +#%%patch 2 -p1 -b .addlibs +%patch 3 -p1 -b .glib-deprecated # Explictly use gtk+-2.0 sed -i.gtk configure -e '\@gtk+-3.0@s|2.90|9999|' @@ -87,5 +87,8 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-2.0/language-specs/convert.py %{_datadir}/gir-1.0/GtkSource-2.0.gir %changelog +* Fri Dec 13 2024 litian - 2.11.2-2 +- fix %patchN is deprecated warning + * Wed May 24 2023 wangtaozhi - 2.11.2-1 - Package init