Hello community,
here is the log from the commit of package python-click-threading for
openSUSE:Factory checked in at 2020-04-23 18:37:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-click-threading (Old)
and /work/SRC/openSUSE:Factory/.python-click-threading.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-threading"
Thu Apr 23 18:37:31 2020 rev:5 rq:796511 version:0.4.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-click-threading/python-click-threading.changes
2019-10-16 09:14:09.707641305 +0200
+++
/work/SRC/openSUSE:Factory/.python-click-threading.new.2738/python-click-threading.changes
2020-04-23 18:37:33.636905353 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:16:18 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-click-threading.spec ++++++
--- /var/tmp/diff_new_pack.pUn3tK/_old 2020-04-23 18:37:34.292906608 +0200
+++ /var/tmp/diff_new_pack.pUn3tK/_new 2020-04-23 18:37:34.296906615 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-click-threading
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-click-threading
Version: 0.4.4
Release: 0
@@ -28,10 +29,12 @@
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-BuildRequires: python-futures
BuildRequires: python-rpm-macros
Requires: python-click >= 5.0
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-futures
+%endif
%ifpython2
Requires: python-futures
%endif