Accepting request 493137 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/493137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-mimeparse?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-05-06 16:31:24 +00:00 committed by Git OBS Bridge
commit fe7c2af5e7
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