From 866a53d3e8ef1d536bc7b3f41560ba71f7e81c79 Mon Sep 17 00:00:00 2001 Message-ID: <866a53d3e8ef1d536bc7b3f41560ba71f7e81c79.1733156402.git.phrdina@redhat.com> From: Pavel Hrdina Date: Mon, 2 Dec 2024 16:55:04 +0100 Subject: [PATCH] Disable spice - Disable spice options in virt-manager. Resolves: #1946939 Signed-off-by: Jonathon Jongsma --- virt-manager.spec.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/virt-manager.spec.in b/virt-manager.spec.in index c22ed32b5..fba140388 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -23,7 +23,6 @@ Requires: python3-gobject >= 3.31.3 Requires: gtk3 >= 3.22.0 Requires: libvirt-glib >= 0.0.9 Requires: gtk-vnc2 -Requires: spice-gtk3 # 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 @@ -104,8 +103,13 @@ machine). %build +%if 0%{?rhel} +%global _default_graphics -Ddefault-graphics=vnc +%endif + %meson \ -Ddefault-hvs=%{default_hvs} \ + %{?_default_graphics} \ -Dupdate-icon-cache=false \ -Dcompile-schemas=false \ -Dtests=disabled -- 2.47.0