From dd133840b9d35ca7d8b1788836f6076b06c33087 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 28 Sep 2019 21:57:29 +0800 Subject: [PATCH] ceph.spec.in: disable cephfs_java and amqp_endpoint if RHEL8 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 --- ceph.spec.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index ae52f261258..3757bdf6682 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -30,11 +30,16 @@ %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} -- 2.39.5