fix location of myslice.log
[plewww.git] / plewww.spec
index b98ba01..aa311e2 100644 (file)
@@ -106,8 +106,9 @@ for module in user node; do
 done
 popd
 # create myslice.log and change its ownership
-touch /var/log/myslice.log
-chown apache:apache /var/log/myslice.log
+mkdir -p /var/log/myslice
+touch /var/log/myslice/myslice.log
+chown apache:apache /var/log/myslice/myslice.log
 
 %clean
 rm -rf $RPM_BUILD_ROOT