From: Nathan Cutler Date: Tue, 29 Sep 2015 08:39:16 +0000 (+0200) Subject: ceph.spec.in: lttng in SLES12 only X-Git-Tag: v9.1.0~26^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bf9ca1eb107c4462d8768faf3ff4db7972384ffd;p=ceph.git ceph.spec.in: lttng in SLES12 only Over in the SUSE sector, we are trying to enable the SLE_12 and openSUSE_13.2 build targets. The lttng/babeltrace stuff is currently available only in SLE_12. Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index 82f32103523e..faced45db9b0 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -173,7 +173,7 @@ BuildRequires: boost-random BuildRequires: lttng-ust-devel BuildRequires: libbabeltrace-devel %endif -%if 0%{?suse_version} >= 1310 +%if 0%{?suse_version} == 1315 BuildRequires: lttng-ust-devel BuildRequires: babeltrace-devel %endif @@ -834,7 +834,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/rbd %{_bindir}/rbd-replay %{_bindir}/rbd-replay-many -%if 0%{?fedora} || 0%{?rhel} == 6 || 0%{?suse_version} >= 1310 +%if 0%{?fedora} || 0%{?rhel} == 6 || 0%{?suse_version} == 1315 %{_bindir}/rbd-replay-prep %endif %{_bindir}/ceph-post-file