Hello community,

here is the log from the commit of package python-backports.functools_lru_cache 
for openSUSE:Factory checked in at 2017-04-20 20:50:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backports.functools_lru_cache (Old)
 and      /work/SRC/openSUSE:Factory/.python-backports.functools_lru_cache.new 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-backports.functools_lru_cache"

Thu Apr 20 20:50:00 2017 rev:2 rq:484264 version:1.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-backports.functools_lru_cache/python-backports.functools_lru_cache.changes
        2017-03-18 20:50:53.918919604 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-backports.functools_lru_cache.new/python-backports.functools_lru_cache.changes
   2017-04-20 20:50:01.695784526 +0200
@@ -1,0 +2,18 @@
+Fri Mar 31 19:27:35 UTC 2017 - [email protected]
+
+-  %{python_sitelib}/backports is a namespace package, and so under
+   python 2.x it must have a proper 
+   %{python_sitelib}/backports/__init__.py file.
+   python-backports provides this __init__.py to prevent backports
+   packages from conflicting.
+   Please see the following links for more details:
+     https://pypi.python.org/pypi/backports/
+     https://www.python.org/dev/peps/pep-0420/%23namespace-packages-today
+
+-------------------------------------------------------------------
+Thu Mar 30 22:14:12 UTC 2017 - [email protected]
+
+- Use the common __init__.py used by the python-backports package
+  to avoid conflicts.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-backports.functools_lru_cache.spec ++++++
--- /var/tmp/diff_new_pack.dl0Fim/_old  2017-04-20 20:50:02.535665768 +0200
+++ /var/tmp/diff_new_pack.dl0Fim/_new  2017-04-20 20:50:02.539665202 +0200
@@ -16,7 +16,6 @@
 #
 
 
-%define _name   backports.functools_lru_cache
 Name:           python-backports.functools_lru_cache
 Version:        1.2.1
 Release:        0
@@ -24,22 +23,31 @@
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://github.com/jaraco/backports.functools_lru_cache
-Source:         
https://files.pythonhosted.org/packages/source/b/%{_name}/%{_name}-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/b/backports.functools_lru_cache/backports.functools_lru_cache-%{version}.tar.gz
 BuildRequires:  python
 BuildRequires:  python-Sphinx
 BuildRequires:  python-pytest
 BuildRequires:  python-pytest-runner
 BuildRequires:  python-setuptools
 BuildRequires:  python-setuptools_scm
+# NOTE:
+# %{python_sitelib}/backports is a namespace package, and so under python 2 it 
must have a proper namespace __init__.py
+# python-backports provides this __init__.py to prevent backports packages 
from conflicting.
+# Please see:
+#    https://pypi.python.org/pypi/backports/
+#    https://www.python.org/dev/peps/pep-0420/%23namespace-packages-today
+# If you need to link, the python-backports package is built as a subpackage 
of python-configparser
+BuildRequires:  python-backports
+Requires:       python-backports
 BuildArch:      noarch
-Provides:       python2-%{_name}
+Provides:       python2-backports.functools_lru_cache
 
 %description
 Backport of functools.lru_cache from Python 3.3 as published at
 ActiveState.
 
 %prep
-%setup -q -n %{_name}-%{version}
+%setup -q -n backports.functools_lru_cache-%{version}
 
 %build
 python2 setup.py build
@@ -55,8 +63,7 @@
 %files
 %defattr(-,root,root)
 %doc CHANGES.rst README.rst
-%dir %{python_sitelib}/backports/
 %{python_sitelib}/backports/functools_lru_cache.py*
-%{python_sitelib}/%{_name}-*
+%{python_sitelib}/backports.functools_lru_cache-*
 
 %changelog


Reply via email to