Hello community,
here is the log from the commit of package python-click-threading for
openSUSE:Leap:15.2 checked in at 2020-04-25 19:05:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-click-threading (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-click-threading.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-click-threading"
Sat Apr 25 19:05:11 2020 rev:12 rq:797092 version:0.4.4
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-click-threading/python-click-threading.changes
2020-03-09 18:03:41.228767523 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-click-threading.new.2738/python-click-threading.changes
2020-04-25 19:05:14.675616373 +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.rzOtt5/_old 2020-04-25 19:05:15.699618574 +0200
+++ /var/tmp/diff_new_pack.rzOtt5/_new 2020-04-25 19:05:15.703618583 +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