Commit 1e4072e36417229158ef6535552b22ea7ef120fa
Committed by
Rodrigo Siqueira de Melo
1 parent
62760f01
Exists in
master
and in
79 other branches
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 | ... | ... |