From c5dc658ea8c764f0e6b15fa4da9daff97a8d2ccf Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 15 Nov 2021 18:49:26 +0100 Subject: [PATCH] spec: Explicitly provide locations for QEMU data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are the defaults, but we prefer to be explicit. Signed-off-by: Andrea Bolognani Reviewed-by: Ján Tomko --- libvirt.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) 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 \