forked from pool/python-Paste
Accepting request 493091 from home:TheBlackCat:branches:devel:languages:python
- Fix Provides/Obsoletes. OBS-URL: https://build.opensuse.org/request/show/493091 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Paste?expand=0&rev=16
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-Paste
|
||||
Version: 2.0.3
|
||||
Release: 0
|
||||
@@ -44,12 +45,12 @@ Requires: python-flup
|
||||
Requires: python-six > 1.4.0
|
||||
%ifpython2
|
||||
Requires: python-python-openid
|
||||
Provides: %{oldpython}-paste = %{version}
|
||||
Obsoletes: %{oldpython}-paste < %{version}
|
||||
%endif
|
||||
%ifpython3
|
||||
Requires: python3-python3-openid
|
||||
%endif
|
||||
Provides: python-paste = %{version}
|
||||
Obsoletes: python-paste < %{version}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user