From: Adam Crume Date: Fri, 15 Aug 2014 17:27:05 +0000 (-0700) Subject: lttng: Only require lttng for Fedora >= 20 and RHEL == 6 for RPM distros X-Git-Tag: v0.86~231^2~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ff6ed11b586c50cd8ed1a0dd8d0c807ad8968e3;p=ceph.git lttng: Only require lttng for Fedora >= 20 and RHEL == 6 for RPM distros Signed-off-by: Adam Crume --- diff --git a/ceph.spec.in b/ceph.spec.in index 8308d082b90a..d28b53399c40 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -250,7 +250,9 @@ License: LGPL-2.0 Requires: librados2 = %{version}-%{release} Requires: librbd1 = %{version}-%{release} Requires: libcephfs1 = %{version}-%{release} +%if (0%{?fedora} >= 20 || 0%{?rhel} == 6) BuildRequires: lttng-ust-devel +%endif %description -n ceph-test This package contains Ceph benchmarks and test tools.