From 12ce53d653ead172fe3a265bdb348ed4dbf8e63e4be108ffd84863e2b907b1d2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 26 Feb 2021 15:07:01 +0000 Subject: [PATCH] Accepting request 875301 from home:mcalabkova:branches:devel:languages:python - Drop broken %ifpython3 macro OBS-URL: https://build.opensuse.org/request/show/875301 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lazy-object-proxy?expand=0&rev=17 --- python-lazy-object-proxy.changes | 5 +++++ python-lazy-object-proxy.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/python-lazy-object-proxy.changes b/python-lazy-object-proxy.changes index d6efca8..e21025c 100644 --- a/python-lazy-object-proxy.changes +++ b/python-lazy-object-proxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 26 08:46:31 UTC 2021 - Markéta Machová + +- Drop broken %ifpython3 macro + ------------------------------------------------------------------- Sun Dec 20 09:34:39 UTC 2020 - Dirk Müller diff --git a/python-lazy-object-proxy.spec b/python-lazy-object-proxy.spec index 9012e50..57be990 100644 --- a/python-lazy-object-proxy.spec +++ b/python-lazy-object-proxy.spec @@ -1,7 +1,7 @@ # # spec file for package python-lazy-object-proxy # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,6 +38,8 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools_scm >= 3.3.1} BuildRequires: fdupes BuildRequires: python-rpm-macros +Obsoletes: python-lazy_object_proxy < %{version}-%{release} +Provides: python-lazy_object_proxy = %{version}-%{release} %if %{with test} BuildRequires: %{python_module lazy-object-proxy = %{version}} BuildRequires: %{python_module pytest-benchmark} @@ -49,10 +51,6 @@ BuildRequires: %{python_module pytest} Obsoletes: %{oldpython}-lazy_object_proxy < %{version} Provides: %{oldpython}-lazy_object_proxy = %{version} %endif -%ifpython3 -Obsoletes: python3-lazy_object_proxy < %{version}-%{release} -Provides: python3-lazy_object_proxy = %{version}-%{release} -%endif %python_subpackages %description