]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: package rbd-replay-prep on all Fedoras
authorKen Dreyer <kdreyer@redhat.com>
Wed, 24 Jun 2015 22:39:30 +0000 (16:39 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 24 Jun 2015 22:43:30 +0000 (16:43 -0600)
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 <ira@samba.org>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
ceph.spec.in

index e94d930850f020d9303088ed81e5e787cd2de264..d7cbaca15e8323e1d37167a606a91a1300a67e80 100644 (file)
@@ -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