]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Sat, 28 Sep 2019 14:20:35 +0000 (22:20 +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>
ceph.spec.in

index ae52f2612587639e5ee95c999292e3ab4cc68359..3757bdf6682af9ffe7f81c52bf726c19b575ff28 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
 %global _remote_tarball_prefix https://download.ceph.com/tarballs/
 %endif
 %if 0%{?suse_version}