From: Michel Normand Date: Fri, 5 Aug 2016 14:34:48 +0000 (+0200) Subject: ExclusiveArch for suse_version X-Git-Tag: v10.2.3~54^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10614%2Fhead;p=ceph.git ExclusiveArch for suse_version 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 (cherry picked from commit a8db0f4d96d71223083bf6c2275acd892666a13e) --- diff --git a/ceph.spec.in b/ceph.spec.in index 3cf6307f1177..2e83d86c8361 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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 #################################################################################