[pkg] Add log directory to rpm
authorRémi Cardona <remi.cardona@logilab.fr>
Thu, 25 Jul 2013 10:25:49 +0200
changeset 9185 499f9ddc4470
parent 9002 f98d1c46ed9f
child 9186 965f894b63cb
[pkg] Add log directory to rpm
cubicweb.spec
--- a/cubicweb.spec	Fri May 24 13:00:28 2013 +0200
+++ b/cubicweb.spec	Thu Jul 25 10:25:49 2013 +0200
@@ -46,11 +46,13 @@
 
 %install
 NO_SETUPTOOLS=1 %{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
+mkdir -p $RPM_BUILD_ROOT/var/log/cubicweb
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files 
 %defattr(-, root, root)
+%dir /var/log/cubicweb
 /*