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

Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mimeparse?expand=0&rev=8
This commit is contained in:
Todd R 2017-05-06 04:27:23 +00:00 committed by Git OBS Bridge
parent 1f991dbf25
commit ba5ce86ac6
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
- Fix Provides/Obsoletes.
-------------------------------------------------------------------
Sat Apr 1 14:24:37 UTC 2017 - aloisio@gmx.com

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-python-mimeparse
Version: 1.6.0
Release: 0
@ -29,8 +30,10 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-mimeparse = 0.1.4
Obsoletes: python-mimeparse < 0.1.4
%ifpython2
Obsoletes: %{oldpython}-mimeparse < 0.1.4
Provides: %{oldpython}-mimeparse = %{version}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages