Hello community,
here is the log from the commit of package python-wurlitzer for
openSUSE:Leap:15.2 checked in at 2020-04-21 19:07:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-wurlitzer (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-wurlitzer.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wurlitzer"
Tue Apr 21 19:07:08 2020 rev:2 rq:796039 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-wurlitzer/python-wurlitzer.changes
2020-02-21 10:50:03.203007680 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-wurlitzer.new.2738/python-wurlitzer.changes
2020-04-21 19:08:37.800124071 +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.kMJCzn/_old 2020-04-21 19:08:38.496125488 +0200
+++ /var/tmp/diff_new_pack.kMJCzn/_new 2020-04-21 19:08:38.500125497 +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