rpm spec: disable ceph on 32-bit architectures

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>
This commit is contained in:
Daniel P. Berrangé 2019-01-21 12:20:14 +00:00
parent 40136bd316
commit 6c6001bddb

View File

@ -109,6 +109,12 @@
%define with_storage_zfs 0 %define with_storage_zfs 0
%endif %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, # RHEL doesn't ship OpenVZ, VBox, PowerHypervisor,
# VMware, libxenserver (xenapi), libxenlight (Xen 4.1 and newer), # VMware, libxenserver (xenapi), libxenlight (Xen 4.1 and newer),