Merge pull request #5082 from ceph/wip-fedora-babeltrace

ceph.spec.in: fix babeltrace handling on Fedora

Reviewed-by: Ira Cooper ira@samba.org
Reviewed-by: Boris Ranto branto@redhat.com
This commit is contained in:
branto1 2015-06-29 16:01:33 +02:00
commit 0537cf241c

View File

@ -356,7 +356,7 @@ Group: System Environment/Libraries
License: LGPL-2.0
Requires: ceph-common
Requires: xmlstarlet
%if (0%{?fedora} >= 20 || 0%{?rhel} == 6)
%if (0%{?fedora} || 0%{?rhel} == 6)
BuildRequires: lttng-ust-devel
BuildRequires: libbabeltrace-devel
%endif
@ -980,7 +980,7 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
%{_mandir}/man8/rbd-replay-prep.8*
%{_bindir}/rbd-replay
%{_bindir}/rbd-replay-many
%if (0%{?fedora} == 20 || 0%{?rhel} == 6)
%if (0%{?fedora} || 0%{?rhel} == 6)
%{_bindir}/rbd-replay-prep
%endif