15
0

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
This commit is contained in:
Todd R
2017-05-06 04:51:22 +00:00
committed by Git OBS Bridge
parent f48e164a24
commit 94cadea3fa
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-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