]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: drop "is_opensuse" conditional in SUSE-specific bcond block 34790/head
authorNathan Cutler <ncutler@suse.com>
Fri, 6 Mar 2020 09:09:27 +0000 (10:09 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 14:18:43 +0000 (16:18 +0200)
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 <ncutler@suse.com>
(cherry picked from commit fd7cb3dae55b649febfeccee8ec3c9efa9ffb9e7)

ceph.spec.in

index fcd88fde0ab1a422fb7b39602b3f875319069356..f1921b08bed44eb5f19312d987d96ccb194c4bcb 100644 (file)
 %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