From: Andrea Bolognani Date: Mon, 15 Nov 2021 17:49:26 +0000 (+0100) Subject: spec: Explicitly provide locations for QEMU data X-Git-Tag: v7.10.0-rc1~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5dc658ea8c764f0e6b15fa4da9daff97a8d2ccf;p=thirdparty%2Flibvirt.git spec: Explicitly provide locations for QEMU data These are the defaults, but we prefer to be explicit. Signed-off-by: Andrea Bolognani Reviewed-by: Ján Tomko --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 85e879fedb..5a079cdaf3 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -190,6 +190,10 @@ %define qemu_user qemu %define qemu_group qemu +# Locations for QEMU data +%define qemu_moddir %{_libdir}/qemu +%define qemu_datadir %{_datadir}/qemu + # RHEL releases provide stable tool chains and so it is safe to turn # compiler warning into errors without being worried about frequent @@ -1160,6 +1164,8 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec) %{arg_packager_version} \ -Dqemu_user=%{qemu_user} \ -Dqemu_group=%{qemu_group} \ + -Dqemu_moddir=%{qemu_moddir} \ + -Dqemu_datadir=%{qemu_datadir} \ -Dtls_priority=%{tls_priority} \ %{?enable_werror} \ -Dexpensive_tests=enabled \