From 0ae6dd4f5abf296e6b56fb36ce6a712f465ab64d Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 13 Jun 2022 15:35:50 +0200 Subject: [PATCH] remove govirt and activate spice correctly Signed-off-by: Toshaan Bharvani --- SPECS/virt-viewer.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SPECS/virt-viewer.spec b/SPECS/virt-viewer.spec index def69a8..4c9fd50 100644 --- a/SPECS/virt-viewer.spec +++ b/SPECS/virt-viewer.spec @@ -1,6 +1,6 @@ # -*- rpm-spec -*- -%global with_govirt 1 +%global with_govirt 0 Name: virt-viewer Version: 11.0 @@ -45,10 +45,10 @@ the display, and libvirt for looking up VNC/SPICE server details. %build %define buildid_opt -Dbuild-id=%{release} -%if !%{with_govirt} -%define ovirt_opt -Dovirt=disabled +%if %{with_govirt} +%define ovirt_opt -Dovirt=enabled %endif -%define spice_opt -Dspice=disabled +%define spice_opt -Dspice=enabled %define osid_opt -Dos-id=powerel9 %meson %{buildid_opt} %{?ovirt_opt} %{?spice_opt} %{?osid_opt}