diff --git a/ceph.spec.in b/ceph.spec.in index de8141afba7..694c439e5b4 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 58c7f362e31..70107d98842 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