From 282a6b0675f46ff2168e61a70e19372c066da517 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 19 Mar 2019 12:22:32 +0100 Subject: [PATCH] rpm: refrain from building ceph-resource-agents on SLE Fixes: https://tracker.ceph.com/issues/38812 Signed-off-by: Nathan Cutler --- ceph.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 5844a5af3c5d0..8e1b5b94c047a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -21,7 +21,6 @@ # please read http://rpm.org/user_doc/conditional_builds.html for explanation of # bcond syntax! ################################################################################# -%bcond_without ocf %bcond_with make_check %ifarch s390 s390x %bcond_with tcmalloc @@ -34,6 +33,7 @@ %bcond_without cephfs_java %bcond_without lttng %bcond_without libradosstriper +%bcond_without ocf %bcond_without amqp_endpoint %global _remote_tarball_prefix https://download.ceph.com/tarballs/ %endif @@ -48,8 +48,10 @@ %endif %if 0%{?is_opensuse} %bcond_without libradosstriper +%bcond_without ocf %else %bcond_with libradosstriper +%bcond_with ocf %endif %ifarch x86_64 aarch64 ppc64le %bcond_without lttng -- 2.39.5