mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
build/ops: rpm: reconstruct SUSE bconds
Disable java build completely. Enable lttng build on SLES only, and only for certain architectures. Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
1c2ac30803
commit
dd08d17fdf
25
ceph.spec.in
25
ceph.spec.in
@ -15,12 +15,6 @@
|
||||
# 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
|
||||
@ -30,15 +24,24 @@
|
||||
%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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user