Commit 67f18a4c21c322e7e5210e5ca4076d034f19a4dd
1 parent
21944190
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
| ... | ... | @@ -49,6 +49,9 @@ find %{buildvenv} -type d -empty -delete |
| 49 | 49 | install -d -m 0755 %{buildroot}/etc/colab |
| 50 | 50 | install -m 0644 misc/etc/colab/gunicorn.py %{buildroot}/etc/colab |
| 51 | 51 | |
| 52 | +# install log | |
| 53 | +install -d -m 0755 -o colab -g colab %{buildroot}/var/log/colab | |
| 54 | + | |
| 52 | 55 | # install virtualenv |
| 53 | 56 | install -d -m 0755 %{buildroot}/usr/lib |
| 54 | 57 | rm -rf %{buildroot}/usr/lib/colab |
| ... | ... | @@ -80,6 +83,7 @@ rm -rf %{buildvenv} |
| 80 | 83 | |
| 81 | 84 | %files |
| 82 | 85 | /usr/lib/colab |
| 86 | +/var/log/colab | |
| 83 | 87 | %{_bindir}/* |
| 84 | 88 | /etc/cron.d/colab |
| 85 | 89 | /etc/colab/gunicorn.py | ... | ... |