From a8db0f4d96d71223083bf6c2275acd892666a13e Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Fri, 5 Aug 2016 16:34:48 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 5857a1562c3..3cbe9cf8596 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -64,6 +64,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 #################################################################################