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