]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: disable cephfs_java and amqp_endpoint if RHEL8
authorKefu Chai <kchai@redhat.com>
Sat, 28 Sep 2019 13:57:29 +0000 (21:57 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 13:42:05 +0000 (21:42 +0800)
RHEL/CentOS 8 does not offer junit and sharutils yet, so disable
cephfs_java on rhel8 at this moment.

RHEL/CentOS 8 does not offer librabbitmq-devel yet, so disable
amqp_endpoint on rhel8 at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit dd133840b9d35ca7d8b1788836f6076b06c33087)

Conflicts:
ceph.spec.in: trivial resolution

ceph.spec.in

index dc115090f1a7608200748006615b26f30babc976..9b705099fe06667bab4b8f4cb97f4f79a546da8a 100644 (file)
 %endif
 %if 0%{?fedora} || 0%{?rhel}
 %bcond_without selinux
+%if 0%{?rhel} >= 8
+%bcond_with cephfs_java
+%bcond_with amqp_endpoint
+%else
 %bcond_without cephfs_java
+%bcond_without amqp_endpoint
+%endif
 %bcond_without lttng
 %bcond_without libradosstriper
 %bcond_without ocf
-%bcond_without amqp_endpoint
 %bcond_without kafka_endpoint
 %global _remote_tarball_prefix https://download.ceph.com/tarballs/
 %endif