[libvirt] [PATCH] rpm spec: disable ceph on 32-bit architectures

Daniel P. Berrangé posted 1 patch 5 years, 3 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190121122341.28734-1-berrange@redhat.com
libvirt.spec.in | 6 ++++++
1 file changed, 6 insertions(+)
[libvirt] [PATCH] rpm spec: disable ceph on 32-bit architectures
Posted by Daniel P. Berrangé 5 years, 3 months ago
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>
---

Pushed as a build fix for RPM builds

 libvirt.spec.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index b04cf53eb8..567721f424 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -109,6 +109,12 @@
     %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),
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list