From: Cole Robinson Date: Fri, 17 Jan 2025 16:47:08 +0000 (-0500) Subject: spec: Only build ch driver on x86_64 and aarch64 X-Git-Tag: v11.1.0-rc1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981929112c5f8440d241cd1989ba52d9cbd23858;p=thirdparty%2Flibvirt.git spec: Only build ch driver on x86_64 and aarch64 This matches the cpu_family() check in `meson.build` Reviewed-by: Daniel P. Berrangé Signed-off-by: Cole Robinson --- diff --git a/libvirt.spec.in b/libvirt.spec.in index f513ca9173..0836c11e8e 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -29,6 +29,7 @@ %define arches_zfs %{arches_x86} %{power64} %{arm} %define arches_numactl %{arches_x86} %{power64} aarch64 s390x %define arches_numad %{arches_x86} %{power64} aarch64 +%define arches_ch x86_64 aarch64 # The hypervisor drivers that run in libvirtd %define with_qemu 0%{!?_without_qemu:1} @@ -124,6 +125,9 @@ %ifnarch %{arches_ceph} %define with_storage_rbd 0 %endif +%ifnarch %{arches_ch} + %define with_ch 0 +%endif # RHEL doesn't ship many hypervisor drivers %if 0%{?rhel}