forked from pool/python-recommonmark
Accepting request 493127 from home:TheBlackCat:branches:devel:languages:python
Fix Provides/Obsoletes. OBS-URL: https://build.opensuse.org/request/show/493127 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recommonmark?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix Provides/Obsoletes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 6 17:42:45 UTC 2017 - toddrme2178@gmail.com
|
Thu Apr 6 17:42:45 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
Name: python-recommonmark
|
Name: python-recommonmark
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -34,8 +35,14 @@ BuildRequires: %{python_module docutils}
|
|||||||
BuildRequires: %{python_module CommonMark}
|
BuildRequires: %{python_module CommonMark}
|
||||||
Requires: python-docutils
|
Requires: python-docutils
|
||||||
Requires: python-CommonMark
|
Requires: python-CommonMark
|
||||||
Provides: python-reCommonMark = %{version}
|
%ifpython2
|
||||||
Obsoletes: python-reCommonMark < %{version}
|
Obsoletes: %{oldpython}-reCommonMark < %{version}
|
||||||
|
Provides: %{oldpython}-reCommonMark = %{version}
|
||||||
|
%endif
|
||||||
|
%ifpython3
|
||||||
|
Provides: python3-reCommonMark = %{version}
|
||||||
|
Obsoletes: python3-reCommonMark < %{version}
|
||||||
|
%endif
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Reference in New Issue
Block a user