[packages/libvirt] - enabled qemu on x32, fixed build without qemu

qboosh qboosh at pld-linux.org
Sun Jun 2 08:54:35 CEST 2024


commit 921d9029d360f1a52c129d7e9c19a64ccde4c741
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 2 07:36:41 2024 +0200

    - enabled qemu on x32, fixed build without qemu

 libvirt.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/libvirt.spec b/libvirt.spec
index becffdb..9581c59 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -33,7 +33,7 @@
 %bcond_without	static_libs	# static libraries build
 
 # qemu available only on x86 and ppc
-%ifnarch %{ix86} %{x8664} aarch64 ppc
+%ifnarch %{ix86} %{x8664} x32 aarch64 ppc
 %undefine	with_qemu
 %endif
 
@@ -601,8 +601,10 @@ install -d $RPM_BUILD_ROOT/etc/rc.d/init.d \
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/libvirtd
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
+%if %{with qemu}
 # PLD: kvm group, qemu user+group are handled in qemu-common package; uids and gids differ from file provided here, so kill it
 %{__rm} $RPM_BUILD_ROOT%{_prefix}/lib/sysusers.d/libvirt-qemu.conf
+%endif
 
 %find_lang %{name}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/921d9029d360f1a52c129d7e9c19a64ccde4c741



More information about the pld-cvs-commit mailing list