Accepting request 875445 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/875445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lazy-object-proxy?expand=0&rev=9
This commit is contained in:
Richard Brown
2021-03-05 12:44:23 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 26 08:46:31 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Drop broken %ifpython3 macro
-------------------------------------------------------------------
Sun Dec 20 09:34:39 UTC 2020 - Dirk Müller <dmueller@suse.com>

View File

@@ -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