diff --git a/python-Babel.changes b/python-Babel.changes index 29f9b00..e8d3291 100644 --- a/python-Babel.changes +++ b/python-Babel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 5 10:31:45 UTC 2021 - Markéta Machová + +- Substitute broken %ifpython3 macro + ------------------------------------------------------------------- Wed Dec 16 23:03:10 UTC 2020 - Michael Ströder diff --git a/python-Babel.spec b/python-Babel.spec index be9245d..b2c0377 100644 --- a/python-Babel.spec +++ b/python-Babel.spec @@ -1,7 +1,7 @@ # # spec file for package python-Babel # -# 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 @@ -40,7 +40,7 @@ BuildArch: noarch Obsoletes: %{oldpython}-babel < %{version} Provides: %{oldpython}-babel = %{version} %endif -%ifpython3 +%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: python3-babel = %{version} Obsoletes: python3-babel < %{version} %endif