We want mkcephfs and mount.ceph to be under /sbin.
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
%build
./autogen.sh
%if %{with_radosgw}
-%{configure} --without-hadoop --with-radosgw
+%{configure} --prefix=/usr --sbindir=/sbin --without-hadoop --with-radosgw
%else
-%{configure} --without-hadoop --without-radosgw
+%{configure} --prefix=/usr --sbindir=/sbin --without-hadoop --without-radosgw
%endif
make -j$(getconf _NPROCESSORS_ONLN) CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
dh_testdir
./autogen.sh
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --sbindir=/sbin
$(MAKE)
cp src/init-ceph debian/ceph.init
cp src/logrotate.conf debian/ceph.logrotate