We want to be explicit about which features are enabled in our
RPM build instead of relying on default values.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
libvirt.spec.in | 3 +++
mingw-libvirt.spec.in | 2 ++
2 files changed, 5 insertions(+)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 7920599498..cc04efe081 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1098,6 +1098,8 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y'
%{_specdir}/%{name}.spec)
-Dsasl=enabled \
-Dpolkit=enabled \
-Ddriver_libvirtd=enabled \
+ -Ddriver_remote=enabled \
+ -Ddriver_test=enabled \
%{?arg_esx} \
%{?arg_hyperv} \
%{?arg_vmware} \
@@ -1126,6 +1128,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y'
%{_specdir}/%{name}.spec)
-Dselinux=enabled \
%{?arg_selinux_mount} \
-Dapparmor=disabled \
+ -Dapparmor_profiles=false \
-Dsecdriver_apparmor=disabled \
-Dudev=enabled \
-Dyajl=enabled \
diff --git a/mingw-libvirt.spec.in b/mingw-libvirt.spec.in
index 4674d7887a..87223e205c 100644
--- a/mingw-libvirt.spec.in
+++ b/mingw-libvirt.spec.in
@@ -103,10 +103,12 @@ exit 1
%mingw_meson \
--auto-features=enabled \
-Ddriver_remote=enabled \
+ -Ddriver_test=enabled \
-Ddriver_esx=enabled \
-Dcurl=enabled \
-Ddocs=enabled \
-Dapparmor=disabled \
+ -Dapparmor_profiles=false \
-Dattr=disabled \
-Daudit=disabled \
-Dbash_completion=disabled \
--
2.31.1