File project.diff of Package python-Flask-Cache

--- python-Flask-Cache.changes.orig
+++ python-Flask-Cache.changes
@@ -1,4 +1,14 @@
 -------------------------------------------------------------------
+Tue Jun  5 19:36:01 UTC 2018 - hpj@urpla.net
+
+- clean up spec
+
+-------------------------------------------------------------------
+Mon Jun  4 20:41:26 UTC 2018 - hpj@urpla.net
+
+- fix namespace with Flask-Cache-fix-namespace.patch
+
+-------------------------------------------------------------------
 Sat Oct  7 03:59:09 UTC 2017 - arun@gmx.de
 
 - update to single spec
--- python-Flask-Cache.spec.orig
+++ python-Flask-Cache.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask-Cache
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,20 +23,16 @@ Release:        0
 Summary:        Cache support for Flask
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            http://github.com/thadeusb/flask-cache
+URL:            https://github.com/thadeusb/flask-cache
 Source:         https://files.pythonhosted.org/packages/source/F/Flask-Cache/Flask-Cache-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch0:         Flask-Cache-fix-namespace.patch
 BuildRequires:  %{python_module Flask}
 BuildRequires:  %{python_module Sphinx}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module base}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Flask
-%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
 %python_subpackages
 
 %description
@@ -53,6 +49,7 @@ reference for python-Flask-Cache.
 
 %prep
 %setup -q -n Flask-Cache-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -66,12 +63,11 @@ cd docs && make html && rm _build/html/.
 %python_exec setup.py test
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES LICENSE README
+%license LICENSE
+%doc CHANGES README
 %{python_sitelib}/*
 
 %files %{python_files doc}
-%defattr(-,root,root)
 %doc docs/_build/html
 
 %changelog