From b2823365e580143ca074aaa33d9cbb87758df68906d2119b9a333f2241281461 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Dec 2020 05:03:50 +0000 Subject: [PATCH] Accepting request 853442 from home:bnavigator:branches:devel:languages:python - Require dbm for all python3 flavors in Tumbleweed gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/853442 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dill?expand=0&rev=14 --- python-dill.changes | 6 ++++++ python-dill.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/python-dill.changes b/python-dill.changes index ff41e2d..3e68cee 100644 --- a/python-dill.changes +++ b/python-dill.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 6 23:05:33 UTC 2020 - Benjamin Greiner + +- Require dbm for all python3 flavors in Tumbleweed + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Thu Jan 30 17:21:16 UTC 2020 - Todd R diff --git a/python-dill.spec b/python-dill.spec index d825e3a..0c25ac8 100644 --- a/python-dill.spec +++ b/python-dill.spec @@ -29,7 +29,11 @@ BuildRequires: %{python_module objgraph >= 1.7.2} 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(postun): update-alternatives Recommends: python-objgraph >= 1.7.2