]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Explicitly provide locations for QEMU data
authorAndrea Bolognani <abologna@redhat.com>
Mon, 15 Nov 2021 17:49:26 +0000 (18:49 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 18 Nov 2021 14:49:02 +0000 (15:49 +0100)
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>
libvirt.spec.in

index 85e879fedbd2e109d4ad4b65d0b15dabf51a1b27..5a079cdaf302a10b4c0c0b353a8e1ea44b49fcea 100644 (file)
 %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 \