]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
build/ops: rpm: reconstruct SUSE bconds
authorNathan Cutler <ncutler@suse.com>
Fri, 24 Nov 2017 05:58:40 +0000 (06:58 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 24 Jan 2018 16:16:26 +0000 (17:16 +0100)
Disable java build completely. Enable lttng build on SLES only, and only for
certain architectures.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index bbc873eb70f16702108231f886222c05c3a5f312..a2d2c31675c4b478d3b5adcc8cf202c371d3ab3a 100644 (file)
 # Please submit bugfixes or comments via http://tracker.ceph.com/
 #
 %bcond_without ocf
-%bcond_without cephfs_java
-%if 0%{?suse_version}
-%bcond_with ceph_test_package
-%else
-%bcond_without ceph_test_package
-%endif
 %bcond_with make_check
 %ifarch s390 s390x
 %bcond_with tcmalloc
 %bcond_with lowmem_builder
 %if 0%{?fedora} || 0%{?rhel}
 %bcond_without selinux
+%bcond_without ceph_test_package
+%bcond_without cephfs_java
+%bcond_with lowmem_builder
+%bcond_without lttng
 %endif
 %if 0%{?suse_version}
 %bcond_with selinux
-%endif
-
-# LTTng-UST enabled on Fedora, RHEL 6+, and SLE (not openSUSE)
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%if ! 0%{?is_opensuse}
+%bcond_with ceph_test_package
+%bcond_with cephfs_java
+%bcond_without lowmem_builder
+%if 0%{?is_opensuse}
 %bcond_without lttng
+%else
+%ifarch x86_64 aarch64
+%bcond_without lttng
+%else
+%bcond_with lttng
+%endif
 %endif
 %endif