Add compressed css and js
authorIlya Kharin <akscram@gmail.com>
Thu, 1 Aug 2013 10:22:58 +0000 (14:22 +0400)
committerIlya Kharin <akscram@gmail.com>
Thu, 1 Aug 2013 10:22:58 +0000 (14:22 +0400)
Change-Id: I22d7b668468a508dc14495c330316a124881a49d

rpm/SOURCES/python-django-horizon-2013.1-compressed-css.tar.gz
rpm/SPECS/python-django-horizon.spec

index deff2ff3b99519d854a9fd717ecd20cb2d961214..2623a16dd01b009e6e895fe6a68a8a668cd7b293 100644 (file)
Binary files a/rpm/SOURCES/python-django-horizon-2013.1-compressed-css.tar.gz and b/rpm/SOURCES/python-django-horizon-2013.1-compressed-css.tar.gz differ
index 0b4676d146b27eeb8a34a1270b5a1f71099db60f..5150dcd0594f9a1d2710491c5a5ee80535fff621 100644 (file)
@@ -11,6 +11,7 @@ BuildArch:  noarch
 Source0:    horizon-%{version}.tar.gz
 Source1:    openstack-dashboard.conf
 Source2:    openstack-dashboard-httpd-2.4.conf
+Source3:    python-django-horizon-2013.1-compressed-css.tar.gz
 
 # demo config for separate logging
 Source4:    openstack-dashboard-httpd-logging.conf
@@ -198,8 +199,9 @@ cp -a horizon/static/* %{buildroot}%{_datadir}/openstack-dashboard/static
 
 # compress css, js etc.
 cd %{buildroot}%{_datadir}/openstack-dashboard
-%{__python} manage.py collectstatic --noinput --pythonpath=../../lib/python2.6/site-packages/ 
-%{__python} manage.py compress --pythonpath=../../lib/python2.6/site-packages/
+#%{__python} manage.py collectstatic --noinput --pythonpath=../../lib/python2.6/site-packages/
+#%{__python} manage.py compress --pythonpath=../../lib/python2.6/site-packages/
+tar -xzf %{SOURCE3}
 
 %files -f horizon.lang
 %doc LICENSE README.rst openstack-dashboard-httpd-logging.conf