[python-django-horizon/el6-icehouse] fix macro for selecting httpd config

Matthias Runge mrunge at fedoraproject.org
Tue Jul 8 13:48:04 UTC 2014


commit c78707f30d755d5ead16c6bb138ef31524631359
Author: Matthias Runge <mrunge at redhat.com>
Date:   Tue Jul 8 15:48:02 2014 +0200

    fix macro for selecting httpd config

 python-django-horizon.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-django-horizon.spec b/python-django-horizon.spec
index 44aadd4..b912220 100644
--- a/python-django-horizon.spec
+++ b/python-django-horizon.spec
@@ -2,7 +2,7 @@
 
 Name:       python-django-horizon
 Version:    2014.1.1
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    Django application for talking to Openstack
 
 Group:      Development/Libraries
@@ -221,7 +221,7 @@ rm -fr html/.doctrees html/.buildinfo
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 # drop httpd-conf snippet
-%if 0%{?rhel} == 6 || 0%{?fedora} <18
+%if 0%{?rhel} == 6 
 install -m 0644 -D -p %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/openstack-dashboard.conf
 %else
 # httpd-2.4 changed the syntax
@@ -345,6 +345,9 @@ sed -i 's:^SECRET_KEY =.*:SECRET_KEY = "badcafe":' openstack_dashboard/local/loc
 %{_datadir}/openstack-dashboard/openstack_dashboard_theme
 
 %changelog
+* Tue Jul 01 2014 Matthias Runge <mrunge at redhat.com> - 2014.1.1-3
+- fix macro issue for selecting httpd config (rhbz#113721)
+
 * Mon Jun 30 2014 Matthias Runge <mrunge at redhat.com> - 2014.1.1-2
 - python-django-horizon..el7 installs wrong httpd config (rhbz#113721)
 


More information about the scm-commits mailing list