From 94cadea3fa3cf0eac5adc1b69b4e9b2835d0504dc9931a2e980d87dfaefeb2b0 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sat, 6 May 2017 04:51:22 +0000 Subject: [PATCH] Accepting request 493154 from home:TheBlackCat:branches:devel:languages:python Fix Provides/Obsoletes. OBS-URL: https://build.opensuse.org/request/show/493154 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=24 --- python-dogpile.cache.changes | 5 +++++ python-dogpile.cache.spec | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index dee9554..af9571d 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com + +- Fix Provides/Obsoletes. + ------------------------------------------------------------------- Wed Mar 1 14:02:39 UTC 2017 - aloisio@gmx.com diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index 77f2ddb..c5c1e58 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-dogpile.cache Version: 0.6.2 Release: 0 @@ -35,8 +36,14 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # NOTE(toabctl): upstream merged dogpile.core into dogpile.cache # see https://gerrit.sqlalchemy.org/#/c/89/ -Provides: python-dogpile.core = 0.4.1 -Obsoletes: python-dogpile.core <= 0.4.1 +%ifpython2 +Obsoletes: %{oldpython}-dogpile.core < 0.4.1 +Provides: %{oldpython}-dogpile.core = %{version} +%endif +%ifpython3 +Provides: python3-dogpile.core = %{version} +Obsoletes: python3-dogpile.core < 0.4.1 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages