Accepting request 866563 from home:jayvdb:branches:devel:languages:python

- Fix Tumbleweed Python 3.6 build

OBS-URL: https://build.opensuse.org/request/show/866563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?expand=0&rev=18
This commit is contained in:
Luigi Baldoni 2021-01-25 12:15:36 +00:00 committed by Git OBS Bridge
parent 17266d35cc
commit 6d5758f272
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 25 11:33:52 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Fix Tumbleweed Python 3.6 build
-------------------------------------------------------------------
Sat Nov 28 09:27:15 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -34,11 +34,12 @@ BuildArch: noarch
%if 0%{?suse_version} <= 1520
BuildRequires: %{python_module dataclasses}
%endif
BuildRequires: (python36-dataclasses if python36-base)
# SECTION test requirements
BuildRequires: %{python_module h11 >= 0.8.1}
BuildRequires: %{python_module pytest}
# /SECTION
%if 0%{?suse_version} <= 1520
%if 0%{?python_version_nodots} <= 36
Requires: python-dataclasses
%endif
%python_subpackages