!2 fix build unresolvable disable python2
From: @zhangtao2020 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
bdce5d4a99
14
vte.spec
14
vte.spec
@ -3,7 +3,7 @@
|
|||||||
%define gtk2_version 2.20.0
|
%define gtk2_version 2.20.0
|
||||||
Name: vte
|
Name: vte
|
||||||
Version: 0.28.2
|
Version: 0.28.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A terminal emulator
|
Summary: A terminal emulator
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://developer.gnome.org/vte/
|
URL: http://developer.gnome.org/vte/
|
||||||
@ -36,9 +36,8 @@ Patch8: vte-0.28.2-683730.patch
|
|||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=681329
|
# https://bugzilla.gnome.org/show_bug.cgi?id=681329
|
||||||
Patch9: vte-0.28.2-mouse-tracking.patch
|
Patch9: vte-0.28.2-mouse-tracking.patch
|
||||||
BuildRequires: gtk2-devel >= %{gtk2_version} pango-devel >= %{pango_version}
|
BuildRequires: gtk2-devel >= %{gtk2_version} pango-devel >= %{pango_version}
|
||||||
BuildRequires: glib2-devel >= %{glib2_version} pygtk2-devel, python2-devel, ncurses-devel
|
BuildRequires: glib2-devel >= %{glib2_version} ncurses-devel
|
||||||
BuildRequires: gettext libXt-devel intltool perl-Carp gobject-introspection-devel
|
BuildRequires: gettext libXt-devel intltool perl-Carp gobject-introspection-devel
|
||||||
BuildRequires: /usr/bin/python
|
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
%description
|
%description
|
||||||
VTE is a terminal emulator widget for use with GTK+ 2.0.
|
VTE is a terminal emulator widget for use with GTK+ 2.0.
|
||||||
@ -66,8 +65,6 @@ vte.
|
|||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PYTHON=%{__python2}
|
|
||||||
export PYTHON
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
@ -75,7 +72,8 @@ export PYTHON
|
|||||||
--with-gtk=2.0 \
|
--with-gtk=2.0 \
|
||||||
--libexecdir=%{_libdir}/%{name} \
|
--libexecdir=%{_libdir}/%{name} \
|
||||||
--without-glX \
|
--without-glX \
|
||||||
--disable-gtk-doc
|
--disable-gtk-doc\
|
||||||
|
--disable-python
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -94,7 +92,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a
|
|||||||
%dir %{_libdir}/vte
|
%dir %{_libdir}/vte
|
||||||
%attr(2711,root,utmp) %{_libdir}/vte/gnome-pty-helper
|
%attr(2711,root,utmp) %{_libdir}/vte/gnome-pty-helper
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_libdir}/python*/site-packages/*
|
|
||||||
%{_libdir}/girepository-1.0
|
%{_libdir}/girepository-1.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -102,10 +99,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/*.a
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/pygtk/2.0/defs/vte.defs
|
|
||||||
%{_datadir}/gir-1.0
|
%{_datadir}/gir-1.0
|
||||||
%doc %{_datadir}/gtk-doc/html/vte-0.0
|
%doc %{_datadir}/gtk-doc/html/vte-0.0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 31 2021 zhangtao <zhangtao221@huawei.com> - 0.28.2-2
|
||||||
|
- disable python2
|
||||||
* Mon Aug 3 2020 fanjiachen <fanjiachen3@huawei.com> - 0.28.2-1
|
* Mon Aug 3 2020 fanjiachen <fanjiachen3@huawei.com> - 0.28.2-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user