Accepting request 876956 from home:mcalabkova:branches:devel:languages:python

- Substitute broken %ifpython3 macro

OBS-URL: https://build.opensuse.org/request/show/876956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=55
This commit is contained in:
Dirk Mueller 2021-03-05 12:44:11 +00:00 committed by Git OBS Bridge
parent c5fdf5f085
commit 864e3d2a45
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 5 10:31:45 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Substitute broken %ifpython3 macro
-------------------------------------------------------------------
Wed Dec 16 23:03:10 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@ -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