diff --git a/python-stestr.changes b/python-stestr.changes index 8fcb6f1..50a7f9c 100644 --- a/python-stestr.changes +++ b/python-stestr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 9 15:34:18 UTC 2021 - Markéta Machová + +- Get rid of %ifpython3 + ------------------------------------------------------------------- Mon Feb 8 13:05:10 UTC 2021 - Dirk Müller diff --git a/python-stestr.spec b/python-stestr.spec index b29a4a1..d548bf7 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -68,7 +68,7 @@ BuildRequires: %{python_module stestr >= %{version}} BuildRequires: %{python_module testtools >= 2.2.0} BuildRequires: %{python_module voluptuous >= 0.8.9} %endif -%ifpython3 +%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Requires: python-dbm %endif %if !0%{?_no_weakdeps}