Hello community,
here is the log from the commit of package python-wurlitzer for
openSUSE:Factory checked in at 2020-04-21 13:06:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wurlitzer (Old)
and /work/SRC/openSUSE:Factory/.python-wurlitzer.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wurlitzer"
Tue Apr 21 13:06:57 2020 rev:4 rq:795679 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wurlitzer/python-wurlitzer.changes
2019-11-12 16:11:10.015736078 +0100
+++
/work/SRC/openSUSE:Factory/.python-wurlitzer.new.2738/python-wurlitzer.changes
2020-04-21 13:06:59.416372270 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 07:24:10 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2 available
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wurlitzer.spec ++++++
--- /var/tmp/diff_new_pack.IrvPFz/_old 2020-04-21 13:07:00.224373882 +0200
+++ /var/tmp/diff_new_pack.IrvPFz/_new 2020-04-21 13:07:00.228373890 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-wurlitzer
#
-# 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-wurlitzer
Version: 2.0.0
Release: 0
@@ -29,8 +30,10 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python-selectors2
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python-selectors2
+%endif
%ifpython2
Requires: python-selectors2
%endif