]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
LTTng-UST disabled for openSUSE 10592/head
authorMichel Normand <normand@linux.vnet.ibm.com>
Fri, 5 Aug 2016 13:19:50 +0000 (15:19 +0200)
committerMichel Normand <normand@linux.vnet.ibm.com>
Thu, 11 Aug 2016 08:38:06 +0000 (10:38 +0200)
LTTng-UST not yet supported in openSUSE so do not enable lltng for it.
The (1) is where is defined "is_opensuse"

Remove value for test of suse_version in spec file
and change related comment from SLES12 to SLE
as per comment in https://github.com/ceph/ceph/pull/10592

(1) https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#Detect_a_distribution_flavor_for_special_code

Fixes: http://tracker.ceph.com/issues/16937
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
ceph.spec.in

index 5857a1562c3de9b7374c3347d19b4639d46eb627..cd8f8e51727bccde7ac1671d66447edd2af2b099 100644 (file)
 %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