]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: add /var/lib/ceph/
authorChristian Brunner <chb@muc.de>
Fri, 9 Jul 2010 09:12:39 +0000 (11:12 +0200)
committerSage Weil <sage@newdream.net>
Fri, 9 Jul 2010 16:38:12 +0000 (09:38 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
ceph.spec.in

index 3834fb4e58e2a913933a6e1ce20d2d3f6da20467..5a3d7440ef0c66b537e7e47b81c8a43fa5873715 100644 (file)
@@ -51,6 +51,7 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
 install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph
 chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/sample.ceph.conf
 install -m 0644 -D debian/ceph.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -120,7 +121,8 @@ fi
 %{_mandir}/man8/cauthtool.8*
 %{_mandir}/man8/cclass.8.gz
 %{_mandir}/man8/cclsinfo.8.gz
-
+%dir %{_localstatedir}/lib/ceph/
+%dir %{_localstatedir}/lib/ceph/tmp/
 
 %files fuse
 %defattr(-,root,root,-)