15
0

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

Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=21
This commit is contained in:
Todd R
2017-05-06 04:27:34 +00:00
committed by Git OBS Bridge
parent 339bb74523
commit 6533091777
2 changed files with 14 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-PasteDeploy
Version: 1.5.2
Release: 0
@@ -32,8 +33,14 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Paste
Requires: python-setuptools
Provides: python-pastedeploy = %{version}
Obsoletes: python-pastedeploy < %{version}
%ifpython2
Obsoletes: %{oldpython}-pastedeploy < %{version}
Provides: %{oldpython}-pastedeploy = %{version}
%endif
%ifpython3
Provides: python3-pastedeploy = %{version}
Obsoletes: python3-pastedeploy < %{version}
%endif
BuildArch: noarch
%python_subpackages