mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
spec: rhel: drop spice dep, default to VNC
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
ffc7d2bb1b
commit
ebf5d5f491
@ -1,6 +1,8 @@
|
||||
# -*- rpm-spec -*-
|
||||
|
||||
%global default_hvs "qemu,xen,lxc"
|
||||
%global have_spice %{defined fedora}
|
||||
|
||||
|
||||
|
||||
# End local config
|
||||
@ -22,7 +24,9 @@ Requires: python3-gobject >= 3.31.3
|
||||
Requires: gtk3 >= 3.22.0
|
||||
Requires: libvirt-glib >= 0.0.9
|
||||
Requires: gtk-vnc2
|
||||
%if %{have_spice}
|
||||
Requires: spice-gtk3
|
||||
%endif
|
||||
|
||||
# virt-manager is one of those apps that people will often install onto
|
||||
# a headless machine for use over SSH. This means the virt-manager dep
|
||||
@ -108,8 +112,13 @@ machine).
|
||||
|
||||
|
||||
%build
|
||||
%if ! %{have_spice}
|
||||
%global _default_graphics -Ddefault-graphics=vnc
|
||||
%endif
|
||||
|
||||
%meson \
|
||||
-Ddefault-hvs=%{default_hvs} \
|
||||
%{?_default_graphics} \
|
||||
-Dupdate-icon-cache=false \
|
||||
-Dcompile-schemas=false \
|
||||
-Dtests=disabled
|
||||
|
Loading…
Reference in New Issue
Block a user