RHEL/CentOS 8 now provide librabbitmq-devel so we can enable it as a
build requirement.
Fixes: https://tracker.ceph.com/issues/38466
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit
c44c140dfab4551eebc532c13865f56557b8378c)
%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 amqp_endpoint
%bcond_without lttng
%bcond_without libradosstriper
%bcond_without ocf