From: Adam Crume Date: Mon, 18 Aug 2014 16:27:02 +0000 (-0700) Subject: lttng: Only install rbd-replay-prep when enabled X-Git-Tag: v0.86~231^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=230c5b8e7f58e2e8be32c3f31c6abcc5bdabc5ca;p=ceph.git lttng: Only install rbd-replay-prep when enabled Signed-off-by: Adam Crume --- diff --git a/ceph.spec.in b/ceph.spec.in index de8141afba75..694c439e5b45 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -725,9 +725,11 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %{_bindir}/ceph-osdomap-tool %{_bindir}/ceph-kvstore-tool %{_mandir}/man8/rbd-replay.8* -%{_mandir}/man8/rbd-replay-prep.8* %{_bindir}/rbd-replay +%if (0%{?fedora} >= 20 || 0%{?rhel} == 6) +%{_mandir}/man8/rbd-replay-prep.8* %{_bindir}/rbd-replay-prep +%endif %files -n libcephfs_jni1 %defattr(-,root,root,-) diff --git a/debian/ceph-test.install b/debian/ceph-test.install index 58c7f362e313..70107d98842e 100644 --- a/debian/ceph-test.install +++ b/debian/ceph-test.install @@ -26,7 +26,5 @@ usr/bin/ceph-monstore-tool usr/bin/ceph-osdomap-tool usr/bin/ceph-kvstore-tool usr/share/java/libcephfs-test.jar -usr/bin/rbd-replay -usr/bin/rbd-replay-prep -usr/share/man/man8/rbd-replay.8 -usr/share/man/man8/rbd-replay-prep.8 +usr/bin/rbd-replay* +usr/share/man/man8/rbd-replay*.8