diff --git a/ceph.spec.in b/ceph.spec.in index e8b819af209..3d348511d09 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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