From 0ff096073f4c26bbccd9125a345372f090754d63 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 (cherry picked from commit a8db0f4d96d71223083bf6c2275acd892666a13e) --- ceph.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 3cf6307f11773..2e83d86c83615 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 ################################################################################# -- 2.39.5