X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=nodeconfig.spec;h=5ef96d5acadaebfd9ac47564a86a1728a3c8540c;hb=ba3ad4c403d772f39cfe6c241f6a65f5e8033049;hp=097b35a9d7b0973378c27b2f06ad8d3dec3f0b17;hpb=b6d66985a43809db890634316812c59c2ca0228a;p=nodeconfig.git diff --git a/nodeconfig.spec b/nodeconfig.spec index 097b35a..5ef96d5 100644 --- a/nodeconfig.spec +++ b/nodeconfig.spec @@ -27,7 +27,8 @@ URL: %(echo %{url} | cut -d ' ' -f 2) # We use set everywhere Requires: php >= 5.0 Requires: PLCAPI >= 4.0 - +# need the apache user at install-time +Requires: httpd %description The nodeconfig package provides various php scripts that are used to @@ -57,6 +58,11 @@ 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/ +# the boot manager upload area +mkdir -p /var/log/bm +chown apache:apache /var/log/bm +chmod 700 /var/log/bm + %clean rm -rf $RPM_BUILD_ROOT