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:
parent
031521c844
commit
dedd5a3fa2
@ -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
|
Fri Mar 31 19:38:21 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
Name: python-Babel
|
Name: python-Babel
|
||||||
Version: 2.4.0
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -36,8 +37,14 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Provides: python-babel = %{version}
|
%ifpython2
|
||||||
Obsoletes: python-babel < %{version}
|
Obsoletes: %{oldpython}-babel < %{version}
|
||||||
|
Provides: %{oldpython}-babel = %{version}
|
||||||
|
%endif
|
||||||
|
%ifpython3
|
||||||
|
Provides: python3-babel = %{version}
|
||||||
|
Obsoletes: python3-babel < %{version}
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user