Explicitly tell meson to disable spice/ovirt
Related: rhbz#1949526 Resolves: rhbz#1938537 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
ac9cfb912a
commit
20153a2e82
@ -48,7 +48,15 @@ the display, and libvirt for looking up VNC/SPICE server details.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%meson -Dbuild-id=%{release}
|
||||
%if !%{with_govirt}
|
||||
%define ovirt_opt -Dovirt=disabled
|
||||
%endif
|
||||
|
||||
%if !%{with_spice}
|
||||
%define spice_opt -Dspice=disabled
|
||||
%endif
|
||||
|
||||
%meson -Dbuild-id=%{release} %{?ovirt_opt} %{?spice_opt}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user