Hello community,
here is the log from the commit of package python-humanfriendly for
openSUSE:Factory checked in at 2020-04-23 18:37:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-humanfriendly (Old)
and /work/SRC/openSUSE:Factory/.python-humanfriendly.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-humanfriendly"
Thu Apr 23 18:37:11 2020 rev:14 rq:796500 version:8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-humanfriendly/python-humanfriendly.changes
2020-03-30 23:04:29.828213901 +0200
+++
/work/SRC/openSUSE:Factory/.python-humanfriendly.new.2738/python-humanfriendly.changes
2020-04-23 18:37:20.900880987 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 11:01:33 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-humanfriendly.spec ++++++
--- /var/tmp/diff_new_pack.R7Hr0r/_old 2020-04-23 18:37:21.872882847 +0200
+++ /var/tmp/diff_new_pack.R7Hr0r/_new 2020-04-23 18:37:21.876882855 +0200
@@ -24,6 +24,7 @@
%define psuffix %{nil}
%bcond_with test
%endif
+%bcond_without python2
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-humanfriendly%{psuffix}
Version: 8.1
@@ -47,8 +48,10 @@
BuildRequires: %{python_module pytest >= 3.0.7}
BuildRequires: %{python_module pytest-cov >= 2.4.0}
BuildRequires: %{pythons}
+%if %{with python2}
BuildRequires: python2-monotonic
%endif
+%endif
%ifpython2
Requires: python-monotonic
%endif