Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
@ -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}