Hello community, here is the log from the commit of package python-pytest4 for openSUSE:Factory checked in at 2020-03-27 00:22:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest4 (Old) and /work/SRC/openSUSE:Factory/.python-pytest4.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest4" Fri Mar 27 00:22:14 2020 rev:12 rq:784623 version:4.6.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest4/python-pytest4.changes 2020-01-16 18:15:42.036786780 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest4.new.3160/python-pytest4.changes 2020-03-27 00:22:19.348166386 +0100 @@ -1,0 +2,5 @@ +Fri Mar 13 12:35:29 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest4.spec ++++++ --- /var/tmp/diff_new_pack.qVdjG7/_old 2020-03-27 00:22:20.384166912 +0100 +++ /var/tmp/diff_new_pack.qVdjG7/_new 2020-03-27 00:22:20.388166914 +0100 @@ -25,6 +25,7 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without python2 Name: python-pytest4%{psuffix} Version: 4.6.9 Release: 0 @@ -59,9 +60,11 @@ BuildRequires: %{python_module pygments-pytest} BuildRequires: %{python_module pytest4 >= %{version}} BuildRequires: %{python_module setuptools_scm} +%if %{with python2} BuildRequires: python-funcsigs BuildRequires: python-mock %endif +%endif %ifpython2 Requires: python-funcsigs %endif