Hello community,

here is the log from the commit of package openstack-dashboard.2119 for 
openSUSE:13.1:Update checked in at 2013-10-22 16:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/openstack-dashboard.2119 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.openstack-dashboard.2119.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openstack-dashboard.2119"

Changes:
--------
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ 
/work/SRC/openSUSE:13.1:Update/.openstack-dashboard.2119.new/openstack-dashboard.changes
    2013-10-22 16:31:51.000000000 +0200
@@ -0,0 +1,1662 @@
+-------------------------------------------------------------------
+Thu Oct 17 15:28:43 UTC 2013 - dmuel...@suse.com
+
+- update to 2013.2:
+  + No changes
+
+-------------------------------------------------------------------
+Tue Oct 15 07:48:31 UTC 2013 - speili...@suse.com
+
+- Update to version 2013.2.rc2:
+  + ru and zh_TW locales readded
+
+-------------------------------------------------------------------
+Fri Oct  4 16:39:22 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.rc1:
+  + Correcting help text for database launch
+  + Fix add policy missing rule issue
+  + Release notes for the Havana release
+
+-------------------------------------------------------------------
+Wed Oct  2 20:07:06 UTC 2013 - dmuel...@suse.com
+
+- remove python-troveclient dependency, this is now optional 
+
+-------------------------------------------------------------------
+Wed Oct  2 08:46:04 UTC 2013 - speili...@suse.com
+
+- Update to version 2013.2.a194.g45dd0a3:
+  + Import translations from Transifex for Havana RC1
+  + Create links between FWaaS resources
+  + Code more defensively in image views/forms
+  + enabling trove to work in multi-region deployment
+  + Convert generator to list in Heat list API call
+  + Code quality improvements in heat topology
+  + Don't generate the secret_key until after loading local settings
+  + Correct amount of samples in the chart
+  + Updated from global requirements
+  + Remove unused LOG
+  + Optimization of ceilometer API
+  + Limit the odds of making N calls to Glance for image names
+- Refreshed lang catalog list
+
+-------------------------------------------------------------------
+Tue Oct  1 00:15:00 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a170.g912425a:
+  + Retrieve security group quotas from Neutron if enabled
+  + Cleaning up policy documentation
+  + Remove extra blank line
+
+-------------------------------------------------------------------
+Sun Sep 29 01:01:26 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a165.gffdf190:
+  + Remove gettext_lazy of log message in nexus/profile impl
+  + Make some PEP8 understandable in run_tests.sh -p
+  + Only send gateway_ip on neutron subnet update when it's changed
+  + Ensure to return empty when no secgroup is associated to VM
+  + Add support for loadbalancer providers
+  + Handle case without session_persistence attr in LBaaS VIP
+  + VPNaaS: Sync field names in IPSecSiteConn detail with creation form
+
+-------------------------------------------------------------------
+Fri Sep 27 00:29:04 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a151.g9d41eba:
+  + Handled ajax request crash after session timeout
+  + Update English PO files (source lang of translations)
+  + Fixing database instance launch workflow
+
+-------------------------------------------------------------------
+Thu Sep 26 10:10:16 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a145.g1d88989:
+  + Fix a bug firewall rule creation fails with ANY protocol
+  + Update English PO files
+  + Allow Django unknown language in LANGUAGES settings
+  + Fix excessive volume_get requests in snaps table
+  + Fix editing of nameless images
+  + Fixes openrc to properly manage '\' characters in the user password
+  + Remove colon in item names in LBaaS detail page
+  + Determine security group API dynamically
+  + Don't insert "Any Availaibility Zone" on single-AZ configurations
+
+-------------------------------------------------------------------
+Tue Sep 24 23:38:55 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a127.ge063659:
+  + Fix help string for peer_address and peer_id
+  + Reduce image_list_detailed calls
+  + show limit summary in GB
+
+-------------------------------------------------------------------
+Tue Sep 24 00:17:20 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a121.g6415314:
+  + Chart css small fixes
+  + Fixes inconsistent console problem
+  + Update English PO files (source lang of translations)
+
+-------------------------------------------------------------------
+Sun Sep 22 23:56:26 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a115.g8432143:
+  + Typo fix rangein -> range in
+
+-------------------------------------------------------------------
+Sat Sep 21 23:41:36 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a113.g7f8229d:
+  + Fix Instance secgroup update error with Nova secgroup
+
+-------------------------------------------------------------------
+Sat Sep 21 00:43:18 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a111.g650d267:
+  + Update English PO files (source lang of translations)
+  + replace nova flavor_list call with trove call
+  + Hide the View Details for swift pseudo-folder
+  + Replace OpenStack LLC with OpenStack Foundation
+  + replace hard coded url for vnc view
+
+-------------------------------------------------------------------
+Thu Sep 19 23:55:02 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a102.g33597e9:
+  + PEP8 E126 has been resolved
+  + Fix volume snapshot creation
+  + Update error messeages in Launch Instance
+  + Adding Y value unit into linechart popup
+
+-------------------------------------------------------------------
+Thu Sep 19 00:42:13 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a95.gb924355:
+  + Regenerate POT (English PO) files
+  + Make troveclient optional
+  + Restore icons on buttons
+  + Fixes incomplete translation support of "Defaults" table
+  + Enable two verbose_names in AttachmentsTable translatable
+  + Update English PO files (source lang of translations)
+  + Don't display non-tenant Floating IP in Floating IP project tab
+
+-------------------------------------------------------------------
+Wed Sep 18 14:37:07 UTC 2013 - dmuel...@suse.com
+
+- add suse-fix-webroot-paths.diff 
+- fix permissions
+
+-------------------------------------------------------------------
+Wed Sep 18 00:28:42 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a82.g4bf7248:
+  + replace "ugettext" method with "ugettext_lazy"
+  + assertEquals is deprecated, use assertEqual
+  + Make show_roles language independent
+  + Use substitutions in the messages of delete confirm form
+  + Add tests for VPNaaS screens
+  + divides  "import" statement in a url.py
+  + Adding documentation to Tables and Workflows
+  + Role name should not be translated in Project Member Edit Tab
+
+-------------------------------------------------------------------
+Tue Sep 17 15:02:17 UTC 2013 - dmuel...@suse.com
+
+- fix requires 
+
+-------------------------------------------------------------------
+Mon Sep 16 23:49:41 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a68.g027a1a0:
+  + Enable some table actions translatable
+  + The word "IP" is a proper name
+  + Store user settings in persistent cookies as well as the session
+  + Fixed a PyPy compatibility issue in the test fixtures
+
+-------------------------------------------------------------------
+Sun Sep 15 23:42:46 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a60.g3e39c21:
+  + Display the 'Settings Saved' confirmation in the new language
+  + Update English PO files (source lang of translations)
+  + Fixing typo: use -> user
+
+-------------------------------------------------------------------
+Sun Sep 15 00:17:42 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a54.g0be5871:
+  + Fix bug on missing success message for delete actions
+
+-------------------------------------------------------------------
+Fri Sep 13 23:51:23 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a52.g9fe0ad1:
+  + Redirecting user back to previous screen
+  + Internationalise a couple of forgotten strings
++++ 1465 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:13.1:Update/.openstack-dashboard.2119.new/openstack-dashboard.changes

New:
----
  _service
  horizon-2013.2.tar.gz
  openstack-dashboard.changes
  openstack-dashboard.conf.sample
  openstack-dashboard.spec
  rpmlintrc
  suse-fix-webroot-paths.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openstack-dashboard.spec ++++++
#
# spec file for package openstack-dashboard
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define component horizon

Name:           openstack-dashboard
Version:        2013.2
Release:        0
Summary:        OpenStack Dashboard (Horizon)
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            http://wiki.openstack.org/OpenStackDashboard
Source:         horizon-2013.2.tar.gz
# Apache2 example configuration:
Source2:        openstack-dashboard.conf.sample
# PATCH-FIX-SUSE: Use a saner default for static/media files
Patch0:         suse-fix-webroot-paths.diff
BuildRequires:  apache2
BuildRequires:  fdupes
BuildRequires:  openstack-suse-macros
BuildRequires:  python-devel
BuildRequires:  python-pbr >= 0.5
BuildRequires:  python-setuptools
Requires:       %{name}-branding = %{version}
Requires:       apache2
Requires:       apache2-mod_wsgi
Requires:       python >= 2.6.8
Requires:       python-horizon = %{version}
Recommends:     openstack-novncproxy
# Can't hurt to also provide openstack-horizon:
Provides:       openstack-%{component} = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# To generate a self-signed certificate to be used in demo setups:
Requires(post): apache2-utils
Requires(post): openssl
Requires(post): sysconfig
Provides:       openstack-dashboard-config = %{version}
Obsoletes:      openstack-dashboard-config < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
The OpenStack dashboard provides administrators and users a graphical
interface to access, provision and automate cloud-based resources. The
extensible design makes it easy to plug in and expose third party
products and services, such as billing, monitoring and additional
management tools.

The dashboard is just one way to interact with OpenStack resources.
Developers can automate access or build tools to manage their resources
using the native OpenStack API or the EC2 compatibility API.

%package branding-upstream
Summary:        OpenStack Dashboard (Horizon) - Upstream Branding
Group:          Development/Languages/Python
Provides:       %{name}-branding = %{version}
Conflicts:      otherproviders(%{name}-branding)
Supplements:    packageand(%{name}:branding-upstream)
%if 0%{?suse_version} && 0%{?suse_version} > 1110
BuildArch:      noarch
%endif

%description branding-upstream
This package provides the upstream look and feel for OpenStack Dashboard.

%package -n python-horizon
Summary:        OpenStack Dashboard (Horizon) - Python Module
Group:          Development/Languages/Python
Requires:       python-ceilometerclient >= 1.0.5
Requires:       python-cinderclient >= 1.0.5
Requires:       python-django >= 1.4
Requires:       python-django_compressor >= 1.3
Requires:       python-django_openstack_auth >= 1.1.1
Requires:       python-eventlet >= 0.13.0
Requires:       python-glanceclient >= 0.9.0
Requires:       python-heatclient >= 0.2.3
Requires:       python-heatclient >= 0.2.3
Requires:       python-horizon-branding = %{version}
Requires:       python-iso8601 >= 0.1.4
Requires:       python-keystoneclient >= 0.3.2
Requires:       python-kombu >= 2.4.8
Requires:       python-lesscpy >= 0.9j
Requires:       python-lockfile >= 0.8
Requires:       python-netaddr
Requires:       python-neutronclient >= 2.3.0
Requires:       python-novaclient >= 2.15.0
Requires:       python-pbr >= 0.5.21
Requires:       python-pytz >= 2010h
Requires:       python-six
Requires:       python-swiftclient >= 1.5

%description -n python-horizon
The Python module horizon is the core component of the OpenStack
dashboard.

%package -n python-horizon-branding-upstream
Summary:        OpenStack Dashboard (Horizon) - Python Module Upstream Branding
Group:          Development/Languages/Python
Provides:       python-horizon-branding = %{version}
Conflicts:      otherproviders(python-horizon-branding)
Supplements:    packageand(python-horizon:branding-upstream)
%if 0%{?suse_version} && 0%{?suse_version} > 1110
BuildArch:      noarch
%endif

%description -n python-horizon-branding-upstream
This package provides the upstream look and feel for OpenStack Dashboard Python 
module.

%package test
Summary:        OpenStack Dashboard (Horizon) - Testsuite
Group:          Development/Languages/Python
Requires:       %{name} = %{version}
Requires:       python-coverage >= 3.6
Requires:       python-django-nose
Requires:       python-django-nose-selenium
Requires:       python-flake8 >= 2.0
Requires:       python-hacking >= 0.5.6
Requires:       python-mox >= 0.5.3
Requires:       python-netaddr
Requires:       python-nose
Requires:       python-nose-exclude
Requires:       python-nosehtmloutput >= 0.0.3
Requires:       python-nosexcover
Requires:       python-openstack.nose_plugin >= 0.7
Requires:       python-pep8 >= 1.4.5
Requires:       python-pyflakes >= 0.7.2
%if 0%{?with_selenium}
Requires:       python-selenium
%else
# python-selenium is not available by default, but we can try to drag it in
Recommends:     python-selenium
%endif

%description test
The OpenStack dashboard testsuite. It is used to verify the
functionality of the OpenStack dashboard and its components.

%prep
%setup -q -n horizon-2013.2
%patch0
%openstack_cleanup_prep

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

# Remove po files
find %{buildroot}%{python_sitelib}/horizon/locale 
%{buildroot}%{python_sitelib}/openstack_dashboard/locale -name "*.po" -delete 
-print

# Move openstack_dashboard files
install -d -m 755 %{buildroot}%{_datadir}/openstack-dashboard
mv %{buildroot}%{python_sitelib}/openstack_dashboard/ 
%{buildroot}%{_datadir}/openstack-dashboard/
cp -a manage.py %{buildroot}%{_datadir}/openstack-dashboard/

### Create a local_settings.py
mv 
%{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.py{.example,}
cat <<EOF >> 
%{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.py
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(LOCAL_PATH, 'dashboard_openstack.sqlite3'),
        'TEST_NAME': os.path.join(LOCAL_PATH, 'test.sqlite3'),
    },
}
EOF
# Use secure SECRET_KEY generation for local_settings.py (bnc#755607):
sed -i -e "s|\# \(from horizon\.utils import secret_key\)|\1|" \
       -e "s|\# \(SECRET_KEY = .*\)|\1|" 
%{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.py

# create root for static files
install -m 0755 -d %{buildroot}/srv/www/openstack-dashboard/static/dashboard/css
install -m 0755 -d %{buildroot}/srv/www/openstack-dashboard/static/dashboard/js
install -m 0755 -d %{buildroot}/srv/www/openstack-dashboard/media

# Remove duplicate files
%if 0%{?suse_version}
%fdupes %{buildroot}%{python_sitelib}
%fdupes %{buildroot}%{_datadir}/openstack-dashboard
%fdupes %{buildroot}%{_datadir}/openstack-dashboard-test
%endif

# Apache2 SSL certificate stubs (generated in %%post):
%openstack_apache_ssl_cert_install
# Apache2 sample configuration:
install -d %{buildroot}%{_sysconfdir}/apache2/conf.d
install -m 644 %{SOURCE2} 
%{buildroot}%{_sysconfdir}/apache2/conf.d/openstack-dashboard.conf.sample

### test subpackage
%openstack_test_package_install

%post
%openstack_apache_ssl_cert_post

%files
%defattr(-,root,root)
%dir %{_datadir}/openstack-dashboard
%{_datadir}/openstack-dashboard/manage.py
%dir %{_datadir}/openstack-dashboard/openstack_dashboard
%dir %attr(0750, wwwrun, www) 
%{_datadir}/openstack-dashboard/openstack_dashboard/local
%attr(0640, wwwrun, www) 
%{_datadir}/openstack-dashboard/openstack_dashboard/local/__init__.py*
%config(noreplace) %attr(0640, wwwrun, www) 
%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.py
%{_datadir}/openstack-dashboard/openstack_dashboard/api/
%{_datadir}/openstack-dashboard/openstack_dashboard/dashboards/
%{_datadir}/openstack-dashboard/openstack_dashboard/openstack/
%{_datadir}/openstack-dashboard/openstack_dashboard/utils/
%exclude 
%{_datadir}/openstack-dashboard/openstack_dashboard/dashboards/*/*/templates
%exclude %{_datadir}/openstack-dashboard/openstack_dashboard/templates
%exclude %{_datadir}/openstack-dashboard/openstack_dashboard/test/
%{_datadir}/openstack-dashboard/openstack_dashboard/usage/
%{_datadir}/openstack-dashboard/openstack_dashboard/wsgi/
%{_datadir}/openstack-dashboard/openstack_dashboard/conf/
%{_datadir}/openstack-dashboard/openstack_dashboard/*.py*
%dir /srv/www/openstack-dashboard
%dir /srv/www/openstack-dashboard/static
%dir %attr(0770, root, www) /srv/www/openstack-dashboard/media
%dir /srv/www/openstack-dashboard/static/dashboard
%dir %attr(0770, root, www) /srv/www/openstack-dashboard/static/dashboard/css
%dir %attr(0770, root, www) /srv/www/openstack-dashboard/static/dashboard/js

%openstack_apache_ssl_cert_files
%{_sysconfdir}/apache2/conf.d/openstack-dashboard.conf.sample

# lang files
%dir %{_datadir}/openstack-dashboard/openstack_dashboard/locale
%dir %{_datadir}/openstack-dashboard/openstack_dashboard/locale/*
%dir %{_datadir}/openstack-dashboard/openstack_dashboard/locale/*/LC_MESSAGES
#%lang(bg-bg) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/bg_BG/LC_MESSAGES/django.mo
#%lang(ca) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/ca/LC_MESSAGES/django.mo
#%lang(cs) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/cs/LC_MESSAGES/django.mo
#%lang(en) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/en/LC_MESSAGES/django.mo
%lang(en-au) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/en_AU/LC_MESSAGES/django.mo
%lang(en-gb) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/en_GB/LC_MESSAGES/django.mo
%lang(es) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/es/LC_MESSAGES/django.mo
#%lang(fi-fi) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/fi_FI/LC_MESSAGES/django.mo
%lang(fr) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/fr/LC_MESSAGES/django.mo
#%lang(hu) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/hu/LC_MESSAGES/django.mo
#%lang(it) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/it/LC_MESSAGES/django.mo
%lang(ja) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/ja/LC_MESSAGES/django.mo
#%lang(ka-ge) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/ka_GE/LC_MESSAGES/django.mo
%lang(ko) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/ko_KR/LC_MESSAGES/django.mo
%lang(nl-nl) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/nl_NL/LC_MESSAGES/django.mo
#%lang(pl) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/pl/LC_MESSAGES/django.mo
%lang(pl-pl) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/pl_PL/LC_MESSAGES/django.mo
#%lang(pt) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/pt/LC_MESSAGES/django.mo
%lang(ru) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/ru/LC_MESSAGES/django.mo
%lang(pt-br) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/pt_BR/LC_MESSAGES/django.mo
%lang(zh-cn) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/zh_CN/LC_MESSAGES/django.mo
%lang(zh-tw) 
%{_datadir}/openstack-dashboard/openstack_dashboard/locale/zh_TW/LC_MESSAGES/django.mo

%files branding-upstream
%defattr(-,root,root)
%{_datadir}/openstack-dashboard/openstack_dashboard/dashboards/*/*/templates
%{_datadir}/openstack-dashboard/openstack_dashboard/static
%{_datadir}/openstack-dashboard/openstack_dashboard/templates

%files -n python-horizon
%defattr(-,root,root)
%{python_sitelib}/horizon/
%exclude %{python_sitelib}/horizon/conf/*/static
%exclude %{python_sitelib}/horizon/conf/*/templates
%exclude %{python_sitelib}/horizon/static
%exclude %{python_sitelib}/horizon/templates
%exclude %{python_sitelib}/horizon/test
%{python_sitelib}/horizon-*.egg-info

%files -n python-horizon-branding-upstream
%defattr(-,root,root)
%{python_sitelib}/horizon/conf/*/static
%{python_sitelib}/horizon/conf/*/templates
%{python_sitelib}/horizon/static
%{python_sitelib}/horizon/templates

%files test
%defattr(-,root,root)
%{_localstatedir}/lib/%{name}-test/
%{python_sitelib}/horizon/test

%changelog
++++++ _service ++++++
<services>
  <service name="git_tarballs" mode="disabled">
    <param 
name="url">http://tarballs.openstack.org/horizon/horizon-2013.2.tar.gz</param>
    <param name="email">opensuse-cl...@opensuse.org</param>
    <param name="plain-version">True</param>
  </service>
</services>
++++++ openstack-dashboard.conf.sample ++++++
#
# OpenStack Horizon (Dashboard) Apache2 example configuration.
#
# Required Apache2 modules:
#  - mod_rewrite (If you use the port 80 -> 443 rewrite rule below)
#  - mod_ssl (If you enable the HTTPS vhost)
#

<VirtualHost *:80>
    ServerName openstack-dashboard.example.com
    ServerAdmin webmas...@openstack-dashboard.example.com

    ErrorLog /var/log/apache2/openstack-dashboard-error_log
    TransferLog /var/log/apache2/openstack-dashboard-access_log

    DocumentRoot /usr/share/openstack-dashboard/

    <Directory /usr/share/openstack-dashboard/static/>
        SetOutputFilter DEFLATE
        ExpiresActive On
        ExpiresDefault A604800
    </Directory>

    WSGIScriptAlias / 
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
    WSGIDaemonProcess horizon user=wwwrun group=www processes=3 threads=10
    SetEnv APACHE_RUN_USER  wwwrun
    SetEnv APACHE_RUN_GROUP www

    <Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi/>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>


<IfDefine SSL>
<IfDefine !NOSSL>

# Uncomment the following if you want to redirect all HTTP traffic to HTTPS.
# Make sure to comment out the above <VirtualHost *:80>
#RewriteEngine On
#RewriteCond %{SERVER_PORT} ^80$
#RewriteRule / https://%{HTTP_HOST}%{REQUEST_URI} [L,R]

<VirtualHost *:443>
    ServerName openstack-dashboard.example.com
    ServerAdmin webmas...@openstack-dashboard.example.com

    ErrorLog /var/log/apache2/openstack-dashboard-error_log
    TransferLog /var/log/apache2/openstack-dashboard-access_log

    SSLEngine On
    SSLCertificateFile /etc/apache2/ssl.crt/openstack-dashboard-server.crt
    SSLCertificateKeyFile /etc/apache2/ssl.key/openstack-dashboard-server.key

    DocumentRoot /usr/share/openstack-dashboard/

    WSGIScriptAlias / 
/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
    <Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi/>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

</IfDefine>
</IfDefine>
++++++ rpmlintrc ++++++
# This symling is for the -test package and can be ignored:
addFilter("dangling-symlink 
/var/lib/openstack-dashboard-test/openstack_dashboard")
addFilter("dangling-symlink /var/lib/openstack-dashboard-test/horizon")
addFilter("dangling-symlink 
/usr/lib.*/python.*/site-packages/openstack_dashboard/local 
/var/lib/openstack-dashboard/openstack_dashboard/local")
# False positive, those files are actually found elsewhere:
addFilter("file-not-in-%lang /var/lib/openstack-dashboard-test")
# Pylint config may be useful for testing:
addFilter("hidden-file-or-dir /var/lib/openstack-dashboard-test/.pylintrc")
addFilter("non-conffile-in-etc 
/etc/apache2/conf.d/openstack-dashboard.conf.sample")
#NOTE(saschpe): less is only used in non-production setups to compile static 
assets at runtime.
# While it's a crappy location it isn't worth the effort (currently).
addFilter("python-naming-policy-not-applied 
/usr/lib/python2.7/site-packages/bin/lib/less")
++++++ suse-fix-webroot-paths.diff ++++++
Putting volatile files under /usr is a nogo.

Index: openstack_dashboard/settings.py
===================================================================
--- openstack_dashboard/settings.py.orig
+++ openstack_dashboard/settings.py
@@ -48,9 +48,9 @@ LOGOUT_URL = '/auth/logout/'
 # Do not set it to '/home/', as this will cause circular redirect loop
 LOGIN_REDIRECT_URL = '/'
 
-MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'media'))
+MEDIA_ROOT = os.path.abspath(os.path.join('/srv/www/openstack-dashboard/', 
'media'))
 MEDIA_URL = '/media/'
-STATIC_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'static'))
+STATIC_ROOT = os.path.abspath(os.path.join('/srv/www/openstack-dashboard/', 
'static'))
 STATIC_URL = '/static/'
 
 ROOT_URLCONF = 'openstack_dashboard.urls'
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to