From 6eaa2516c2a8c69d042346fc9bfd6d653d8ec9d4981c05bf2e93b62cddf2b79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 4 Dec 2020 10:47:00 +0000 Subject: [PATCH] Accepting request 852977 from home:bnavigator:branches:devel:languages:python - Need dbm for more than one python3 flavor gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/852977 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-future?expand=0&rev=29 --- python-future.changes | 6 ++++++ python-future.spec | 4 ++++ 2 files changed, 10 insertions(+) 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