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 -*-
|
# -*- rpm-spec -*-
|
||||||
|
|
||||||
%global default_hvs "qemu,xen,lxc"
|
%global default_hvs "qemu,xen,lxc"
|
||||||
|
%global have_spice %{defined fedora}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# End local config
|
# End local config
|
||||||
@ -22,7 +24,9 @@ Requires: python3-gobject >= 3.31.3
|
|||||||
Requires: gtk3 >= 3.22.0
|
Requires: gtk3 >= 3.22.0
|
||||||
Requires: libvirt-glib >= 0.0.9
|
Requires: libvirt-glib >= 0.0.9
|
||||||
Requires: gtk-vnc2
|
Requires: gtk-vnc2
|
||||||
|
%if %{have_spice}
|
||||||
Requires: spice-gtk3
|
Requires: spice-gtk3
|
||||||
|
%endif
|
||||||
|
|
||||||
# virt-manager is one of those apps that people will often install onto
|
# 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
|
# a headless machine for use over SSH. This means the virt-manager dep
|
||||||
@ -108,8 +112,13 @@ machine).
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if ! %{have_spice}
|
||||||
|
%global _default_graphics -Ddefault-graphics=vnc
|
||||||
|
%endif
|
||||||
|
|
||||||
%meson \
|
%meson \
|
||||||
-Ddefault-hvs=%{default_hvs} \
|
-Ddefault-hvs=%{default_hvs} \
|
||||||
|
%{?_default_graphics} \
|
||||||
-Dupdate-icon-cache=false \
|
-Dupdate-icon-cache=false \
|
||||||
-Dcompile-schemas=false \
|
-Dcompile-schemas=false \
|
||||||
-Dtests=disabled
|
-Dtests=disabled
|
||||||
|
Loading…
Reference in New Issue
Block a user