[python-django-horizon/el6-havana] finally update to havana-2

Matthias Runge mrunge at fedoraproject.org
Fri Jul 26 06:54:04 UTC 2013


commit 7e2e834618daaf78c623c539c1381ff692eb205c
Author: Matthias Runge <mrunge at redhat.com>
Date:   Fri Jul 26 08:53:31 2013 +0200

    finally update to havana-2

 .gitignore                                         |    1 +
 ...file-location-to-tmp-and-also-add-localho.patch |   32 ++++++++++++++++++++
 python-django-horizon.spec                         |    4 ++-
 sources                                            |    2 +-
 4 files changed, 37 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ff87408..634c701 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
 /python-django-horizon-2013.1-compress.tar.gz
 /horizon-2013.1.1.tar.gz
 /horizon-2013.2.b1.tar.gz
+/horizon-2013.2.b2.tar.gz
diff --git a/0003-change-lockfile-location-to-tmp-and-also-add-localho.patch b/0003-change-lockfile-location-to-tmp-and-also-add-localho.patch
new file mode 100644
index 0000000..eaf0186
--- /dev/null
+++ b/0003-change-lockfile-location-to-tmp-and-also-add-localho.patch
@@ -0,0 +1,32 @@
+From fcf8b00597925b908f565bd27b29b440f41b3e78 Mon Sep 17 00:00:00 2001
+From: Matthias Runge <mrunge at redhat.com>
+Date: Thu, 25 Jul 2013 11:32:38 +0200
+Subject: [PATCH] change lockfile location to '/tmp' and also add localhost to
+ ALLOWED_HOSTS
+
+---
+ openstack_dashboard/local/local_settings.py.example | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/openstack_dashboard/local/local_settings.py.example b/openstack_dashboard/local/local_settings.py.example
+index 3f5da3d..52f1656 100644
+--- a/openstack_dashboard/local/local_settings.py.example
++++ b/openstack_dashboard/local/local_settings.py.example
+@@ -12,7 +12,7 @@ TEMPLATE_DEBUG = DEBUG
+ # with the list of host/domain names that the application can serve.
+ # For more information see:
+ # https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
+-#ALLOWED_HOSTS = ['horizon.example.com', ]
++ALLOWED_HOSTS = ['horizon.example.com', 'localhost']
+ 
+ # Set SSL proxy settings:
+ # For Django 1.4+ pass this header from the proxy after terminating the SSL,
+@@ -77,7 +77,7 @@ HORIZON_CONFIG = {
+ # Turn off browser autocompletion for the login form if so desired.
+ # HORIZON_CONFIG["password_autocomplete"] = "off"
+ 
+-LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
++LOCAL_PATH = '/tmp'
+ 
+ # Set custom secret key:
+ # You can either set it to a specific value or you can let horizion generate a
diff --git a/python-django-horizon.spec b/python-django-horizon.spec
index c68acef..e9e65f0 100644
--- a/python-django-horizon.spec
+++ b/python-django-horizon.spec
@@ -1,6 +1,6 @@
 Name:       python-django-horizon
 Version:    2013.2
-Release:    0.4b1%{?dist}
+Release:    0.4b2%{?dist}
 Summary:    Django application for talking to Openstack
 
 Group:      Development/Libraries
@@ -20,6 +20,7 @@ Source4:    openstack-dashboard-httpd-logging.conf
 #
 Patch0001: 0001-Don-t-access-the-net-while-building-docs.patch
 Patch0002: 0002-disable-debug-move-web-root.patch
+Patch0003: 0003-change-lockfile-location-to-tmp-and-also-add-localho.patch
 
 %if 0%{?rhel}>6 || 0%{?fedora} > 17
 # grizzly requires python-django14
@@ -131,6 +132,7 @@ Documentation for the Django Horizon application for talking with Openstack
 
 %patch0001 -p1
 %patch0002 -p1
+%patch0003 -p1
 # remove unnecessary .po files
 find . -name "django*.po" -exec rm -f '{}' \;
 
diff --git a/sources b/sources
index 9971226..92b50e6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8883919642d699a57ba92ab70b81e2a1  horizon-2013.2.b1.tar.gz
+5da3751e5f5dd03e566063db506c9407  horizon-2013.2.b2.tar.gz


More information about the scm-commits mailing list