Hello community,
here is the log from the commit of package python-backports.ssl_match_hostname
for openSUSE:Factory checked in at 2018-03-28 10:28:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backports.ssl_match_hostname (Old)
and /work/SRC/openSUSE:Factory/.python-backports.ssl_match_hostname.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-backports.ssl_match_hostname"
Wed Mar 28 10:28:43 2018 rev:6 rq:590709 version:3.5.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-backports.ssl_match_hostname/python-backports.ssl_match_hostname.changes
2017-08-10 14:11:05.173044379 +0200
+++
/work/SRC/openSUSE:Factory/.python-backports.ssl_match_hostname.new/python-backports.ssl_match_hostname.changes
2018-03-28 10:28:50.598522250 +0200
@@ -1,0 +2,6 @@
+Fri Mar 23 14:34:17 UTC 2018 - [email protected]
+
+- Add note about backports namespace
+- Make structure consistent with other backports packages
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-backports.ssl_match_hostname.spec ++++++
--- /var/tmp/diff_new_pack.PAGOcB/_old 2018-03-28 10:28:51.686483125 +0200
+++ /var/tmp/diff_new_pack.PAGOcB/_new 2018-03-28 10:28:51.690482981 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-backports.ssl_match_hostname
#
-# 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
@@ -29,14 +29,20 @@
Source:
https://files.pythonhosted.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module backports}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+# 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_module backports}
Requires: python-backports
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
-%if %{python3_version_nodots} > 34
+%if %{python3_version_nodots} >= 35
%define skip_python3 1
%endif
@@ -80,13 +86,12 @@
%python_install
%python_expand rm %{buildroot}%{$python_sitelib}/backports/__init__.py*
%python_expand rm -rf %{buildroot}%{$python_sitelib}/backports/__pycache__/
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_expand %fdupes
%{buildroot}%{$python_sitelib}/backports/ssl_match_hostname/
%files %{python_files}
%defattr(-,root,root,-)
%doc backports/ssl_match_hostname/README.txt
%doc backports/ssl_match_hostname/LICENSE.txt
-%dir %{python_sitelib}/backports/
%{python_sitelib}/backports/ssl_match_hostname/
%{python_sitelib}/backports.ssl_match_hostname-%{version}-py*.egg-info