From ec7e7b905cc080915a9c425cfef2b920079aa9af3302d328e6005188445a9e74 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 5 Mar 2021 23:25:37 +0000 Subject: [PATCH] Accepting request 876935 from home:mcalabkova:branches:devel:languages:python - Replace broken %ifpython3 macro OBS-URL: https://build.opensuse.org/request/show/876935 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=52 --- python-Beaker.changes | 5 +++++ python-Beaker.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-Beaker.changes b/python-Beaker.changes index 86b1197..d6a72a9 100644 --- a/python-Beaker.changes +++ b/python-Beaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 5 09:13:58 UTC 2021 - Markéta Machová + +- Replace broken %ifpython3 macro + ------------------------------------------------------------------- Wed Jul 22 20:24:19 UTC 2020 - Matej Cepl diff --git a/python-Beaker.spec b/python-Beaker.spec index 6ab241b..01cff71 100644 --- a/python-Beaker.spec +++ b/python-Beaker.spec @@ -1,7 +1,7 @@ # # spec file for package python-Beaker # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,8 +62,8 @@ Requires: python-funcsigs Provides: %{oldpython}-beaker = %{version} Obsoletes: %{oldpython}-beaker < %{version} %endif -%ifpython3 -Requires: python3-dbm +%if %{python_version_nodots} >= 30 +Requires: python-dbm %endif %python_subpackages