From: Ken Dreyer Date: Wed, 24 Jun 2015 22:39:30 +0000 (-0600) Subject: ceph.spec.in: package rbd-replay-prep on all Fedoras X-Git-Tag: v9.0.3~109^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2db9480fa2646de776f0076d82747e202e574ddd;p=ceph.git ceph.spec.in: package rbd-replay-prep on all Fedoras This reverts the change in commit 85517d611b7bf4cb6cbffcd2c65303be0d038264. Since we BuildRequire: libbabeltrace-devel, autoconf will see that babeltrace is available during the build, and make will build/install the rbd-replay-prep utility. This change also simplifies Fedora selection logic, because Fedora 19 is EOL, so "%{fedora}" implies "Fedora 20 and above". Reported-by: Ira Cooper Signed-off-by: Ken Dreyer --- diff --git a/ceph.spec.in b/ceph.spec.in index e94d930850f02..d7cbaca15e832 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -974,7 +974,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