From 568dbf0913ff1be4c7fbd00ef31728b63de84c74c70c009a619a8d419bfc3fc0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 30 Jul 2020 11:04:12 +0000 Subject: [PATCH] - skip python2 building - 0.9.2 is python 3.x only OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=56 --- python-dogpile.cache.changes | 5 +++++ python-dogpile.cache.spec | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index 1cba882..311f8dd 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 30 11:03:50 UTC 2020 - Dirk Mueller + +- skip python2 building - 0.9.2 is python 3.x only + ------------------------------------------------------------------- Tue Jun 2 17:00:19 UTC 2020 - Dirk Mueller diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index ce709b4..5d82214 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%global skip_python2 1 Name: python-dogpile.cache Version: 0.9.2 Release: 0 @@ -39,10 +39,6 @@ BuildRequires: python-rpm-macros Provides: python-dogpile.core = %{version} Obsoletes: python-dogpile.core < 0.4.1 BuildArch: noarch -%ifpython2 -Obsoletes: %{oldpython}-dogpile.core < 0.4.1 -Provides: %{oldpython}-dogpile.core = %{version} -%endif %python_subpackages %description