]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpm spec: disable ceph on 32-bit architectures
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 21 Jan 2019 12:20:14 +0000 (12:20 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 21 Jan 2019 12:20:14 +0000 (12:20 +0000)
Ceph in upstream and Fedora has dropped support for building on host
architectures which are 32-bit.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index b04cf53eb8ec699a344b2b6a29cb5dd4fc9f3581..567721f424841c08e46131c1939e33ccd0eb9ca9 100644 (file)
     %define with_storage_zfs 0
 %endif
 
+# Ceph dropping support for 32-bit hosts
+%if 0%{fedora} >= 30
+    %ifarch %{arm} %{ix86}
+        %define with_storage_rbd 0
+    %endif
+%endif
 
 # RHEL doesn't ship OpenVZ, VBox, PowerHypervisor,
 # VMware, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),