X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=nodeconfig.spec;h=c1300298c1868bb05b779306eb0d992a66ef2b68;hb=c586224113382b1cc52b2606d54ac56032857780;hp=a6bcd07f09b84389e44b5dabdd320af1e27a2543;hpb=b7908bd6c4b1cb0162d7cbac66716dd74d02b982;p=nodeconfig.git diff --git a/nodeconfig.spec b/nodeconfig.spec index a6bcd07..c130029 100644 --- a/nodeconfig.spec +++ b/nodeconfig.spec @@ -27,6 +27,8 @@ URL: %(echo %{url} | cut -d ' ' -f 2) # We use set everywhere Requires: php >= 5.0 Requires: PLCAPI >= 5.0 +# need the apache user at install-time +Requires: httpd %description @@ -87,6 +89,12 @@ popd %clean rm -rf $RPM_BUILD_ROOT +%post +# the boot manager upload area +mkdir -p /var/log/bm +chown apache:apache /var/log/bm +chmod 700 /var/log/bm + %files %defattr(-,root,root,-) /var/www/html/boot