From fd7cb3dae55b649febfeccee8ec3c9efa9ffb9e7 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Fri, 6 Mar 2020 10:09:27 +0100 Subject: [PATCH] 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 --- ceph.spec.in | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index fa30198dc13..41461402d17 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 -- 2.39.5