Accepting request 867072 from home:alarrosa:branches:devel:languages:python

- Fix Obsolete/Provides to work with multiple python3 flavors

OBS-URL: https://build.opensuse.org/request/show/867072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async_timeout?expand=0&rev=9
This commit is contained in:
Matej Cepl 2021-01-27 07:53:58 +00:00 committed by Git OBS Bridge
parent 48eb83f6dd
commit 3f1a382bea
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 27 07:40:03 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Fix Obsolete/Provides to work with multiple python3 flavors
-------------------------------------------------------------------
Wed Mar 6 12:32:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-async_timeout
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -33,10 +33,8 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%ifpython3
Provides: python3-async-timeout = %{version}
Obsoletes: python3-async-timeout < %{version}
%endif
Provides: python-async-timeout = %{version}
Obsoletes: python-async-timeout < %{version}
%python_subpackages
%description