From patchwork Fri Jul 9 09:12:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Brunner X-Patchwork-Id: 111031 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o699BKfJ008635 for ; Fri, 9 Jul 2010 09:12:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753687Ab0GIJMj (ORCPT ); Fri, 9 Jul 2010 05:12:39 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:46083 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751877Ab0GIJMi (ORCPT ); Fri, 9 Jul 2010 05:12:38 -0400 Received: by fxm14 with SMTP id 14so894179fxm.19 for ; Fri, 09 Jul 2010 02:12:37 -0700 (PDT) Received: by 10.223.126.143 with SMTP id c15mr8113945fas.27.1278666757298; Fri, 09 Jul 2010 02:12:37 -0700 (PDT) Received: from bambus (p5498FE3D.dip.t-dialin.net [84.152.254.61]) by mx.google.com with ESMTPS id n21sm1405805fam.44.2010.07.09.02.12.36 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Jul 2010 02:12:36 -0700 (PDT) Date: Fri, 9 Jul 2010 11:12:39 +0200 From: Christian Brunner To: ceph-devel@vger.kernel.org Subject: [PATCH 3/4] ceph.spec.in: add /var/lib/ceph/ Message-ID: <20100709091235.GE29300@bambus> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 09 Jul 2010 09:12:40 +0000 (UTC) --- ceph.spec.in | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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,-)