diff options
author | Andrea Bolognani <abologna@redhat.com> | 2021-11-15 18:49:26 +0100 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2021-11-18 15:49:02 +0100 |
commit | c5dc658ea8c764f0e6b15fa4da9daff97a8d2ccf (patch) | |
tree | 8d08cb28dc99e6d69581b3d281cc2f4eed99230e /libvirt.spec.in | |
parent | 794af15f24efd4496aef2afaeb6d30cb5a7b4e63 (diff) | |
download | libvirt-c5dc658ea8c764f0e6b15fa4da9daff97a8d2ccf.tar.gz |
spec: Explicitly provide locations for QEMU data
These are the defaults, but we prefer to be explicit.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r-- | libvirt.spec.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ |