]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
lttng: Only install rbd-replay-prep when enabled
authorAdam Crume <adamcrume@gmail.com>
Mon, 18 Aug 2014 16:27:02 +0000 (09:27 -0700)
committerSage Weil <sage@redhat.com>
Thu, 21 Aug 2014 17:57:34 +0000 (10:57 -0700)
Signed-off-by: Adam Crume <adamcrume@gmail.com>
ceph.spec.in
debian/ceph-test.install

index de8141afba758e56c67990bca8d1fee96ab31cce..694c439e5b4549494670e56bf6c0f791f35925c3 100644 (file)
@@ -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,-)
index 58c7f362e3133d5d22939cfa2c2b10010ab9e5ce..70107d98842e40c6764384c51a3f72c60c59a545 100644 (file)
@@ -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