]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ExclusiveArch for suse_version 10614/head
authorMichel Normand <normand@linux.vnet.ibm.com>
Fri, 5 Aug 2016 14:34:48 +0000 (16:34 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 8 Aug 2016 19:01:37 +0000 (21:01 +0200)
for SLES supports only x86_64 and aarch64 targets
for openSUSE (Tumbleweed and Leap) add ppc64/ppc64le targets.

fixes: http://tracker.ceph.com/issues/16936
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
(cherry picked from commit a8db0f4d96d71223083bf6c2275acd892666a13e)

ceph.spec.in

index 3cf6307f117738118088c944226d755328deba5d..2e83d86c8361564a694c60f1aa8c6c5eece56629 100644 (file)
@@ -59,6 +59,13 @@ Group:         System/Filesystems
 %endif
 URL:           http://ceph.com/
 Source0:       http://ceph.com/download/%{name}-%{version}.tar.bz2
+%if 0%{?suse_version}
+%if 0%{?is_opensuse}
+ExclusiveArch:  x86_64 aarch64 ppc64 ppc64le
+%else
+ExclusiveArch:  x86_64 aarch64
+%endif
+%endif
 #################################################################################
 # dependencies that apply across all distro families
 #################################################################################