From: Nathan Cutler Date: Fri, 6 Mar 2020 09:09:27 +0000 (+0100) Subject: rpm: drop "is_opensuse" conditional in SUSE-specific bcond block X-Git-Tag: v16.0.0~58^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fd7cb3dae55b649febfeccee8ec3c9efa9ffb9e7;p=ceph.git rpm: drop "is_opensuse" conditional in SUSE-specific bcond block Until now, "ocf" and "libradosstriper" were disabled on SLE, but not openSUSE. Leaving them enabled for openSUSE makes it appear as if these features are expected to do something useful on SUSE. Dropping the "is_opensuse" conditional has the desirable side effect of streamlining the SUSE bcond block, and in the spirit of "and that's not all", we take the opportunity to put the bconds in alphabetical order for comforting cosmetic effect. Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index fa30198dc13bf..41461402d1709 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -43,26 +43,21 @@ %global _remote_tarball_prefix https://download.ceph.com/tarballs/ %endif %if 0%{?suse_version} -%bcond_with selinux -%bcond_with cephfs_java %bcond_with amqp_endpoint +%bcond_with cephfs_java %bcond_with kafka_endpoint -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} -%global _fillupdir /var/adm/fillup-templates -%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 %else %bcond_with lttng %endif +%bcond_with ocf +%bcond_with selinux +#Compat macro for _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} +%global _fillupdir /var/adm/fillup-templates +%endif %endif %bcond_with seastar %if 0%{?fedora} || 0%{?suse_version} >= 1500