SHA256
1
0
forked from pool/python-Babel

Accepting request 493146 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/493146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Babel?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2017-05-09 15:59:22 +00:00 committed by Git OBS Bridge
commit 9c71773a26
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