diff mbox

[3/4] ceph.spec.in: add /var/lib/ceph/

Message ID 20100709091235.GE29300@bambus (mailing list archive)
State New, archived
Headers show

Commit Message

Christian Brunner July 9, 2010, 9:12 a.m. UTC
---
 ceph.spec.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/ceph.spec.in b/ceph.spec.in
index da19a67..de35c24 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -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,-)