forked from pool/python-dogpile.cache
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user