Fix the removed path (missing RPM_BUILD_ROOT)

This commit is contained in:
Boris Ranto 2014-11-03 17:38:23 +01:00
parent 3b0b0e04e8
commit 7ebc469b21
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
# do not package man page for binary that is not built
rm -f %{_mandir}/man8/rbd-replay-prep.8*
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/rbd-replay-prep.8*
install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph
install -D src/init-radosgw.sysv $RPM_BUILD_ROOT%{_initrddir}/ceph-radosgw
install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap