Commit 238891eb1e2916ab3435c3b0a26fb13f82639e30

Authored by Sergio Oliveira
Committed by Alexandre Barbosa
1 parent 0f2174ca
Exists in colab-master

Create log directory

Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
colab/colab.spec
... ... @@ -48,6 +48,9 @@ find %{buildvenv} -type d -empty -delete
48 48 install -d -m 0755 %{buildroot}/etc/colab
49 49 install -m 0644 misc/etc/colab/gunicorn.py %{buildroot}/etc/colab
50 50  
  51 +# install log
  52 +install -d -m 0755 -o colab -g colab %{buildroot}/var/log/colab
  53 +
51 54 # install virtualenv
52 55 install -d -m 0755 %{buildroot}/usr/lib
53 56 rm -rf %{buildroot}/usr/lib/colab
... ... @@ -79,6 +82,7 @@ rm -rf %{buildvenv}
79 82  
80 83 %files
81 84 /usr/lib/colab
  85 +/var/log/colab
82 86 %{_bindir}/*
83 87 /etc/cron.d/colab
84 88 /etc/colab/gunicorn.py
... ...