From: Stephen Soltesz <soltesz@cs.princeton.edu>
Date: Fri, 27 Feb 2009 16:13:07 +0000 (+0000)
Subject: move the /var/log/bm creation into %post.
X-Git-Tag: nodeconfig-4.2-16~2
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cc8764b97b6fb8bc61c18e5c9c9cf1723d8f515a;p=nodeconfig.git

move the /var/log/bm creation into %post.
---

diff --git a/nodeconfig.spec b/nodeconfig.spec
index 835891b..b391ccf 100644
--- a/nodeconfig.spec
+++ b/nodeconfig.spec
@@ -58,6 +58,7 @@ done
 # let's be conservative and exclude codebase files, though there should not be any
 rsync -a --exclude \*.spec --exclude .svn --exclude \*.in ./ $RPM_BUILD_ROOT/var/www/html/
 
+%post
 # the boot manager upload area
 mkdir -p /var/log/bm
 chown apache:apache /var/log/bm