15
0

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

Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493116
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CommonMark?expand=0&rev=4
This commit is contained in:
Todd R
2017-05-06 04:25:25 +00:00
committed by Git OBS Bridge
parent 355bea0ad7
commit 35226cba31
2 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
- Fix Provides/Obsoletes.
-------------------------------------------------------------------
Fri Apr 21 14:11:41 UTC 2017 - toddrme2178@gmail.com

View File

@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-CommonMark
Version: 0.7.3
Release: 0
@@ -33,8 +34,14 @@ BuildRequires: %{python_module setuptools}
Requires: python-future
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: python-commonmark = %{version}
Obsoletes: python-commonmark < %{version}
%ifpython2
Obsoletes: %{oldpython}-commonmark < %{version}
Provides: %{oldpython}-commonmark = %{version}
%endif
%ifpython3
Provides: python3-commonmark = %{version}
Obsoletes: python3-commonmark < %{version}
%endif
%python_subpackages