Browse Source

remove govirt and activate spice correctly

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
0ae6dd4f5a
  1. 8
      SPECS/virt-viewer.spec

8
SPECS/virt-viewer.spec

@ -1,6 +1,6 @@
# -*- rpm-spec -*- # -*- rpm-spec -*-


%global with_govirt 1 %global with_govirt 0


Name: virt-viewer Name: virt-viewer
Version: 11.0 Version: 11.0
@ -45,10 +45,10 @@ the display, and libvirt for looking up VNC/SPICE server details.
%build %build


%define buildid_opt -Dbuild-id=%{release} %define buildid_opt -Dbuild-id=%{release}
%if !%{with_govirt} %if %{with_govirt}
%define ovirt_opt -Dovirt=disabled %define ovirt_opt -Dovirt=enabled
%endif %endif
%define spice_opt -Dspice=disabled %define spice_opt -Dspice=enabled
%define osid_opt -Dos-id=powerel9 %define osid_opt -Dos-id=powerel9


%meson %{buildid_opt} %{?ovirt_opt} %{?spice_opt} %{?osid_opt} %meson %{buildid_opt} %{?ovirt_opt} %{?spice_opt} %{?osid_opt}

Loading…
Cancel
Save