lttng: Only install rbd-replay-prep when enabled

Signed-off-by: Adam Crume <adamcrume@gmail.com>
This commit is contained in:
Adam Crume 2014-08-18 09:27:02 -07:00 committed by Sage Weil
parent 141f37a611
commit 230c5b8e7f
2 changed files with 5 additions and 5 deletions

View 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,-)

View 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