Accepting request 493142 from home:TheBlackCat:branches:devel:languages:python

Fix provides/obsoletes

OBS-URL: https://build.opensuse.org/request/show/493142
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=31
This commit is contained in:
Todd R 2017-05-06 04:29:44 +00:00 committed by Git OBS Bridge
parent 031521c844
commit dedd5a3fa2
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 6 03:37:17 UTC 2017 - toddrme2178@gmail.com
- Fix provides/obsoletes
-------------------------------------------------------------------
Fri Mar 31 19:38:21 UTC 2017 - aloisio@gmx.com

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Babel
Version: 2.4.0
Release: 0
@ -36,8 +37,14 @@ BuildRequires: python-rpm-macros
Requires: python-pytz
Requires(post): update-alternatives
Requires(postun): update-alternatives
Provides: python-babel = %{version}
Obsoletes: python-babel < %{version}
%ifpython2
Obsoletes: %{oldpython}-babel < %{version}
Provides: %{oldpython}-babel = %{version}
%endif
%ifpython3
Provides: python3-babel = %{version}
Obsoletes: python3-babel < %{version}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages