diff --git a/ceph.spec.in b/ceph.spec.in index 6d7defb42b834..dc132ad6103e3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -33,10 +33,12 @@ %bcond_with selinux %endif -# LTTng-UST enabled on Fedora, RHEL 6+, and SLES 12 -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} == 1315 +# 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_without lttng %endif +%endif %if %{with selinux} # get selinux policy version