Accepting request 868492 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/868492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sniffio?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2021-02-04 19:23:20 +00:00 committed by Git OBS Bridge
commit aab05cf096
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}