Hello community,

here is the log from the commit of package python-tornado for openSUSE:Factory 
checked in at 2017-06-26 15:51:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado (Old)
 and      /work/SRC/openSUSE:Factory/.python-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tornado"

Mon Jun 26 15:51:35 2017 rev:38 rq:505956 version:4.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes    
2017-04-28 10:36:31.721211138 +0200
+++ /work/SRC/openSUSE:Factory/.python-tornado.new/python-tornado.changes       
2017-06-26 15:51:37.213101808 +0200
@@ -1,0 +2,17 @@
+Fri Jun 23 17:41:45 UTC 2017 - jmate...@suse.com
+
+- in %pre, remove egg-info file if installed, because it's being
+  replaced by a directory (bsc#1035604)
+
+-------------------------------------------------------------------
+Tue Jun 13 14:57:15 UTC 2017 - jmate...@suse.com
+
+- replace the complicated condition for requiring backports.ssl_match_hostname
+  with unconditional requirement for Python >= 2.7.9
+
+-------------------------------------------------------------------
+Wed May 31 19:25:46 UTC 2017 - dmuel...@suse.com
+
+- require python-backports.ssl_hostname only on python 2.x 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tornado.spec ++++++
--- /var/tmp/diff_new_pack.1BynZr/_old  2017-06-26 15:51:37.857011011 +0200
+++ /var/tmp/diff_new_pack.1BynZr/_new  2017-06-26 15:51:37.857011011 +0200
@@ -20,63 +20,38 @@
 Name:           python-tornado
 Version:        4.4.3
 Release:        0
-Url:            http://www.tornadoweb.org
 Summary:        Open source version of scalable, non-blocking web server that 
power FriendFeed
 License:        Apache-2.0
 Group:          Development/Languages/Python
+Url:            http://www.tornadoweb.org
 Source:         
https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
 Patch0:         tornado-configtest.patch
 Patch1:         tornado-async-deprecations.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycurl}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module simplejson}
-# SECTION test requirements
-BuildRequires:  %{python_module backports_abc}
-BuildRequires:  python-singledispatch
-# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-futures
 BuildRequires:  python-rpm-macros
-
-# Tornado requires python-certifi when the ssl module
-# does not provide the 'create_default_context' function.
-# The ssl module is part of the python package.
-# Starting from python 2.7.9 the ssl module satisfies
-# tornado's requirement, making the python-certifi package
-# optional.
-# Python 2.7.9 is availalbe on SLE12 Updates channel and is going
-# to be available also on openSUSE leap.
-%if 0%{?sles_version} >= 12 || 0%{?suse_version} > 1320
 Requires:       python >= 2.7.9
-%else
-BuildRequires:  %{python_module certifi}
-BuildRequires:  python-backports.ssl_match_hostname
-Requires:       python-backports.ssl_match_hostname
-Requires:       python-certifi
-%endif
-
+Requires:       python-simplejson
+Recommends:     python-Twisted
+Recommends:     python-pycares
+Recommends:     python-pycurl
+Recommends:     python-service_identity
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# SECTION test requirements
+BuildRequires:  %{python_module backports_abc}
+BuildRequires:  python-singledispatch
+# /SECTION
 %if %python_version_nodots < 35
 Requires:       python-backports_abc
 %endif
-
-# Python 2 specific backports
 %ifpython2
 Requires:       python-singledispatch
 Recommends:     python-futures
 %endif
-# end python 2 specific
-
-Requires:       python-simplejson
-
-Recommends:     python-pycares
-Recommends:     python-pycurl
-Recommends:     python-Twisted
-Recommends:     python-service_identity
-
-BuildRequires:  fdupes
-
 %python_subpackages
 
 %description
@@ -102,6 +77,12 @@
 %patch0 -p1
 %patch1 -p1
 
+%pre
+# remove egg-info _file_, being replaced by an egg-info directory
+if [ -f %{python_sitearch}/tornado-%{version}-py%{python_version}.egg-info ]; 
then
+    rm %{python_sitearch}/tornado-%{version}-py%{python_version}.egg-info
+fi
+
 %build
 %python_build
 


Reply via email to