From dc8eed1525df4558a8671386c71468c315e007a34b1cbe95c9c3d9805aa97752 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 5 May 2017 22:00:20 +0000 Subject: [PATCH] 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 --- python-Paste.changes | 5 +++++ python-Paste.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-Paste.changes b/python-Paste.changes index 6fec40d..e59aab4 100644 --- a/python-Paste.changes +++ b/python-Paste.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 5 21:59:21 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Wed Apr 19 02:23:02 UTC 2017 - toddrme2178@gmail.com diff --git a/python-Paste.spec b/python-Paste.spec index 58e622b..afc80de 100644 --- a/python-Paste.spec +++ b/python-Paste.spec @@ -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