]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Tue, 16 Apr 2019 17:33:35 +0000 (19:33 +0200)
Disable java build completely. Enable lttng build on SLES only, and only for
certain architectures.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit dd08d17fdf87404553b4cdbf0ed603ed2d9d1595)

ceph.spec.in

index aa3c47abec11a2d0f55aba2e2e36716fafaa4094..ecb1bc23bf2d10adab00eacbed5ff1b0d0d6e4eb 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