diff --git a/python-future.changes b/python-future.changes index 0f9d448..c942662 100644 --- a/python-future.changes +++ b/python-future.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 3 22:24:41 UTC 2020 - Benjamin Greiner + +- Need dbm for more than one python3 flavor + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Thu Dec 5 15:02:01 CET 2019 - Matej Cepl diff --git a/python-future.spec b/python-future.spec index dcfab2f..396b0c3 100644 --- a/python-future.spec +++ b/python-future.spec @@ -34,7 +34,11 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{suse_version} >= 1550 +BuildRequires: %{python_module dbm} +%else BuildRequires: python3-dbm +%endif Requires(post): update-alternatives Requires(preun): update-alternatives BuildArch: noarch