forked from pool/python-CommonMark
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user