Hello community, here is the log from the commit of package python-Pebble for openSUSE:Factory checked in at 2020-04-21 13:10:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Pebble (Old) and /work/SRC/openSUSE:Factory/.python-Pebble.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pebble" Tue Apr 21 13:10:16 2020 rev:6 rq:795796 version:4.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Pebble/python-Pebble.changes 2020-03-26 23:37:54.354875387 +0100 +++ /work/SRC/openSUSE:Factory/.python-Pebble.new.2738/python-Pebble.changes 2020-04-21 13:10:16.424765191 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 11:18:48 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Pebble.spec ++++++ --- /var/tmp/diff_new_pack.sJh3Wl/_old 2020-04-21 13:10:17.292766922 +0200 +++ /var/tmp/diff_new_pack.sJh3Wl/_new 2020-04-21 13:10:17.296766930 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-Pebble Version: 4.5.1 Release: 0 @@ -27,17 +28,18 @@ Source: https://files.pythonhosted.org/packages/source/P/Pebble/Pebble-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: git -BuildRequires: python-futures +BuildRequires: git-core BuildRequires: python-rpm-macros +BuildArch: noarch +%if %{with python2} +BuildRequires: python-futures +%endif # SECTION test requirements BuildRequires: %{python_module pytest} # /SECTION %ifpython2 Requires: python-futures %endif -BuildArch: noarch - %python_subpackages %description