fix build warnings: patchN is deprecated, use patch N (or %patch -P N)
(cherry picked from commit e164237f7bdcbc414a1a45a721edc4b11ca1d945)
This commit is contained in:
parent
b81758b190
commit
63ac0cc1ee
@ -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 <dev11105@linx-info.com> - 2.11.2-2
|
||||
- fix %patchN is deprecated warning
|
||||
|
||||
* Wed May 24 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 2.11.2-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user