]> git-server-git.apps.pok.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)
committerNathan Cutler <ncutler@suse.com>
Mon, 26 Oct 2015 11:40:54 +0000 (12:40 +0100)
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>
(cherry picked from commit 2db9480fa2646de776f0076d82747e202e574ddd)

ceph.spec.in

index 92965284ca633b6f14cba94ef0e1302d90c2cc10..a49383d3a50e917711c89278fd7a6e2385afaa25 100644 (file)
@@ -889,7 +889,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