Commit 84f114824bcb1b8a5d0a5702f2e4e0f595b963dc

Authored by David Silva
Committed by Rodrigo Siqueira de Melo
1 parent e69b1809
Exists in master and in 1 other branch updatev3

Bumps colab spec version

colab-spb-theme-plugin/colab-spb-theme-plugin.spec
@@ -18,15 +18,16 @@ This package contains Colab theme for Software Público Brasileiro platform. @@ -18,15 +18,16 @@ This package contains Colab theme for Software Público Brasileiro platform.
18 make 18 make
19 19
20 %install 20 %install
21 -cat >> %{buildroot}/etc/colab/settings.d/spb_theme.py << EOF  
22 -COLAB_STATICS=['%{buildroot}/usr/lib/colab/colab-spb-theme-plugin/src/colab_spb_theme/static']  
23 -COLAB_TEMPLATES=('%{buildroot}/usr/lib/colab/colab-spb-theme-plugin/src/colab_spb_theme/templates',)  
24 -EOF  
25 21
26 -chmod 0750 root:colab %{buildroot}/etc/colab/settings.d/spb_theme.py  
27 -chown root:colab %{buildroot}/etc/colab/settings.d/spb_theme.py 22 +install -d %{buildroot}/etc/colab/settings.d/
  23 +
  24 +cat > %{buildroot}/etc/colab/settings.d/spb_theme.py << EOF
  25 +COLAB_STATICS=['/usr/lib/colab/colab-spb-theme-plugin/src/colab_spb_theme/static']
  26 +COLAB_TEMPLATES=('/usr/lib/colab/colab-spb-theme-plugin/src/colab_spb_theme/templates',)
  27 +EOF
28 28
29 make install DESTDIR=%{buildroot} 29 make install DESTDIR=%{buildroot}
30 30
31 %files 31 %files
32 /usr/lib/colab 32 /usr/lib/colab
  33 +/etc/colab
colab/colab.spec
@@ -30,7 +30,7 @@ Integrated software development platform. @@ -30,7 +30,7 @@ Integrated software development platform.
30 # install colab into virtualenv to make sure dependencies are OK 30 # install colab into virtualenv to make sure dependencies are OK
31 rm -rf %{buildvenv} 31 rm -rf %{buildvenv}
32 cp -r /usr/lib/colab %{buildvenv} 32 cp -r /usr/lib/colab %{buildvenv}
33 -PATH=%{buildvenv}/bin:$PATH pip install --no-index . 33 +PATH=%{buildvenv}/bin:$PATH pip install --use-wheel --no-index .
34 virtualenv --relocatable %{buildvenv} 34 virtualenv --relocatable %{buildvenv}
35 35
36 # cleanup virtualenv 36 # cleanup virtualenv