Accepting request 868483 from home:bnavigator:branches:devel:languages:python

- Fix the contextvars requirement for python36

(In expectation that Staging:A will be merged tomorrow)

OBS-URL: https://build.opensuse.org/request/show/868483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sniffio?expand=0&rev=12
This commit is contained in:
Dirk Mueller 2021-02-02 00:10:16 +00:00 committed by Git OBS Bridge
parent c62a9c2fa9
commit 08287650b7
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 31 13:35:33 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Fix the contextvars requirement for python36
-------------------------------------------------------------------
Wed Dec 9 22:59:17 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-sniffio
#
# 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
@ -26,11 +26,13 @@ License: MIT OR Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/python-trio/sniffio
Source: https://github.com/python-trio/sniffio/archive/v%{version}.tar.gz#/sniffio-%{version}.tar.gz
BuildRequires: %{python_module contextvars >= 2.1}
BuildRequires: %{python_module contextvars >= 2.1 if %python-base < 3.7}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-contextvars >= 2.1
BuildRequires: python-rpm-macros >= 20210127.3a18043
%if 0%{?python_version_nodots} < 37
Requires: python-contextvars >= 2.1
%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module curio}