Hello community, here is the log from the commit of package python-sphinx-testing for openSUSE:Factory checked in at 2020-04-22 20:51:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinx-testing (Old) and /work/SRC/openSUSE:Factory/.python-sphinx-testing.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-testing" Wed Apr 22 20:51:25 2020 rev:6 rq:795738 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinx-testing/python-sphinx-testing.changes 2019-05-20 13:18:05.383924147 +0200 +++ /work/SRC/openSUSE:Factory/.python-sphinx-testing.new.2738/python-sphinx-testing.changes 2020-04-22 20:51:26.539210162 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 09:42:05 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinx-testing.spec ++++++ --- /var/tmp/diff_new_pack.zCUI4p/_old 2020-04-22 20:51:27.139211337 +0200 +++ /var/tmp/diff_new_pack.zCUI4p/_new 2020-04-22 20:51:27.143211345 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sphinx-testing # -# 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-sphinx-testing Version: 1.0.1 Release: 0 @@ -30,11 +31,13 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: python-mock BuildRequires: python-rpm-macros Requires: python-Sphinx Requires: python-six BuildArch: noarch +%if %{with python2} +BuildRequires: python-mock +%endif %python_subpackages %description