Fix spec file to correctly build Tumbleweed, Leap, and sle12sp1
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=256
This commit is contained in:
parent
88ae24de3a
commit
d550efe6c5
@ -15,7 +15,6 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define with_guestfs 0
|
%define with_guestfs 0
|
||||||
%define askpass_package "openssh-askpass"
|
%define askpass_package "openssh-askpass"
|
||||||
%define qemu_user "qemu"
|
%define qemu_user "qemu"
|
||||||
@ -95,31 +94,18 @@ Requires: dbus-1-x11
|
|||||||
Requires: dconf
|
Requires: dconf
|
||||||
Requires: gtk3
|
Requires: gtk3
|
||||||
Requires: python-gconf
|
Requires: python-gconf
|
||||||
Requires: virt-manager-common = %{verrel}
|
|
||||||
Recommends: vm-install >= 0.5.6
|
|
||||||
|
|
||||||
# Typelib's
|
|
||||||
Recommends: typelib(AppIndicator3)
|
|
||||||
Requires: typelib(GVnc)
|
|
||||||
Requires: typelib(GtkVnc)
|
|
||||||
Requires: typelib(LibvirtGLib)
|
|
||||||
Requires: typelib(SpiceClientGtk)
|
|
||||||
Requires: typelib(Vte)
|
|
||||||
|
|
||||||
# For console widget
|
# For console widget
|
||||||
Requires: python-gobject-cairo
|
Requires: python-gobject-cairo
|
||||||
Recommends: python-SpiceClientGtk
|
Recommends: python-SpiceClientGtk
|
||||||
|
|
||||||
Requires: virt-install
|
Requires: virt-install
|
||||||
|
Requires: virt-manager-common = %{verrel}
|
||||||
|
Recommends: vm-install >= 0.5.6
|
||||||
|
|
||||||
%if %{with_guestfs}
|
%if %{with_guestfs}
|
||||||
Requires: python-libguestfs
|
Requires: python-libguestfs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
%if 0%{?suse_version} > 1315
|
|
||||||
BuildRequires: gobject-introspection
|
|
||||||
%endif
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
@ -143,7 +129,17 @@ Requires: libvirt-python >= 0.7.0
|
|||||||
Requires: python-ipaddr
|
Requires: python-ipaddr
|
||||||
Requires: python-libxml2
|
Requires: python-libxml2
|
||||||
Requires: python-urlgrabber
|
Requires: python-urlgrabber
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
|
BuildRequires: gobject-introspection
|
||||||
|
%else
|
||||||
|
Recommends: typelib(AppIndicator3)
|
||||||
|
Requires: typelib(GVnc)
|
||||||
|
Requires: typelib(GtkVnc)
|
||||||
Requires: typelib(Libosinfo)
|
Requires: typelib(Libosinfo)
|
||||||
|
Requires: typelib(LibvirtGLib)
|
||||||
|
Requires: typelib(SpiceClientGtk)
|
||||||
|
Requires: typelib(Vte)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
Common files used by the different virt-manager interfaces, as well as
|
Common files used by the different virt-manager interfaces, as well as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user