Hello community,
here is the log from the commit of package python-curtsies for openSUSE:Factory
checked in at 2020-04-23 18:37:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-curtsies (Old)
and /work/SRC/openSUSE:Factory/.python-curtsies.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-curtsies"
Thu Apr 23 18:37:24 2020 rev:8 rq:796506 version:0.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-curtsies/python-curtsies.changes
2020-04-02 17:44:01.765433229 +0200
+++
/work/SRC/openSUSE:Factory/.python-curtsies.new.2738/python-curtsies.changes
2020-04-23 18:37:25.248889306 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:09:49 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-curtsies.spec ++++++
--- /var/tmp/diff_new_pack.fumnhB/_old 2020-04-23 18:37:26.180891089 +0200
+++ /var/tmp/diff_new_pack.fumnhB/_new 2020-04-23 18:37:26.180891089 +0200
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-curtsies
Version: 0.3.1
Release: 0
@@ -34,10 +35,12 @@
BuildRequires: %{python_module wcwidth}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python2-typing
Requires: python-blessings
Requires: python-wcwidth
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python2-typing
+%endif
%if %{python_version_nodots} < 35
BuildRequires: python3-typing
%endif