Hello community, here is the log from the commit of package python-abseil for openSUSE:Leap:15.2 checked in at 2020-04-30 18:52:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-abseil (Old) and /work/SRC/openSUSE:Leap:15.2/.python-abseil.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-abseil" Thu Apr 30 18:52:09 2020 rev:6 rq:796848 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-abseil/python-abseil.changes 2020-03-13 10:59:21.864519778 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-abseil.new.2738/python-abseil.changes 2020-04-30 18:52:11.928694585 +0200 @@ -1,0 +2,5 @@ +Wed Apr 22 10:03:45 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-abseil.spec ++++++ --- /var/tmp/diff_new_pack.wYtWqE/_old 2020-04-30 18:52:12.356695489 +0200 +++ /var/tmp/diff_new_pack.wYtWqE/_new 2020-04-30 18:52:12.360695497 +0200 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-abseil Version: 0.9.0 Release: 0 @@ -25,11 +26,9 @@ URL: https://github.com/abseil/abseil-py Source0: https://github.com/abseil/abseil-py/archive/pypi-v%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes -BuildRequires: python-enum34 -BuildRequires: python-mock BuildRequires: python-rpm-macros -BuildRequires: python-six Requires: python-six BuildArch: noarch %ifpython2 @@ -37,6 +36,10 @@ %endif # SECTION test requirements BuildRequires: %{python_module six} +%if %{with python2} +BuildRequires: python-enum34 +BuildRequires: python-mock +%endif # /SECTION %python_subpackages
