]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: refrain from building ceph-resource-agents on SLE 27046/head
authorNathan Cutler <ncutler@suse.com>
Tue, 19 Mar 2019 11:22:32 +0000 (12:22 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 19 Mar 2019 11:22:32 +0000 (12:22 +0100)
Fixes: https://tracker.ceph.com/issues/38812
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index 5844a5af3c5d0b5dc8dc95553bb3b92d97cc26a7..8e1b5b94c047a774d649ffd71c48020c513b93a9 100644 (file)
@@ -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
 %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