mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 23:00:54 +00:00
rpm: explicitly tell meson to disable spice/ovirt
%meson will force enable all features, so simply omitting the BuildRequires is not sufficient to disable spice/ovirt. Meson must be explicitly told to do so. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
9e36a59c80
commit
7dc64fef6b
@ -50,7 +50,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