[python-django-horizon] minor spec cleanup
Matthias Runge
mrunge at fedoraproject.org
Sat Jan 19 17:08:40 UTC 2013
commit 4ce6d4b923157f3ce77569413d42c4884b099fb5
Author: Matthias Runge <mrunge at redhat.com>
Date: Sat Jan 19 18:08:25 2013 +0100
minor spec cleanup
python-django-horizon.spec | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/python-django-horizon.spec b/python-django-horizon.spec
index c0a7b85..ec7f09b 100644
--- a/python-django-horizon.spec
+++ b/python-django-horizon.spec
@@ -88,7 +88,6 @@ BuildRequires: python-django-appconf
BuildRequires: nodejs
BuildRequires: lessjs
-BuildRequires: python-dateutil
BuildRequires: pytz
%description -n openstack-dashboard
Openstack Dashboard is a web user interface for Openstack. The package
@@ -201,10 +200,8 @@ mkdir -p %{buildroot}%{_datadir}/openstack-dashboard/static
cp -a openstack_dashboard/static/* %{buildroot}%{_datadir}/openstack-dashboard/static
cp -a horizon/static/* %{buildroot}%{_datadir}/openstack-dashboard/static
-# finally put compressed js, css to the right place, and also manifest.json
+# compress css, js etc.
cd %{buildroot}%{_datadir}/openstack-dashboard
-%{__python} manage.py help --settings=openstack_dashboard/settings --pythonpath=openstack_dashboard --pythonpath=.
-%{__python} %{buildroot}%{_datadir}/openstack-dashboard/manage.py help
%{__python} manage.py collectstatic --noinput --pythonpath=../../lib/python2.7/site-packages/
%{__python} manage.py compress --pythonpath=../../lib/python2.7/site-packages/
More information about the scm-commits
mailing list