Hello community,

here is the log from the commit of package python-tornado for openSUSE:Factory 
checked in at 2018-01-16 09:35:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado (Old)
 and      /work/SRC/openSUSE:Factory/.python-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tornado"

Tue Jan 16 09:35:37 2018 rev:42 rq:561691 version:4.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes    
2017-12-12 21:18:58.853980588 +0100
+++ /work/SRC/openSUSE:Factory/.python-tornado.new/python-tornado.changes       
2018-01-16 09:35:41.052466674 +0100
@@ -1,0 +2,6 @@
+Thu Jan  4 15:56:26 UTC 2018 - [email protected]
+
+- only buildrequire futures / singledispatch if python2 is present
+  (fixes build in environments that don't have python2 at all)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-tornado.spec ++++++
--- /var/tmp/diff_new_pack.8whEwX/_old  2018-01-16 09:35:42.452401173 +0100
+++ /var/tmp/diff_new_pack.8whEwX/_new  2018-01-16 09:35:42.456400986 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tornado
 #
-# 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
@@ -16,6 +16,7 @@
 #
 
 
+%bcond_without python2
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-tornado
 Version:        4.5.2
@@ -31,7 +32,6 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module simplejson}
 BuildRequires:  fdupes
-BuildRequires:  python-futures
 BuildRequires:  python-rpm-macros
 Requires:       python >= 2.7.9
 Requires:       python-simplejson
@@ -43,9 +43,12 @@
 BuildRequires:  %{python_module backports.ssl_match_hostname}
 BuildRequires:  %{python_module certifi}
 %endif
+%if %{with python2}
+BuildRequires:  python-futures
+BuildRequires:  python-singledispatch
+%endif
 # SECTION test requirements
 BuildRequires:  %{python_module backports_abc}
-BuildRequires:  python-singledispatch
 # /SECTION
 %if %{python_version_nodots} < 35
 Requires:       python-backports_abc


Reply via email to