diff --git a/python-wsproto.changes b/python-wsproto.changes index 8c126ae..8ee830b 100644 --- a/python-wsproto.changes +++ b/python-wsproto.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 25 11:33:52 UTC 2021 - John Vandenberg + +- Fix Tumbleweed Python 3.6 build + ------------------------------------------------------------------- Sat Nov 28 09:27:15 UTC 2020 - John Vandenberg diff --git a/python-wsproto.spec b/python-wsproto.spec index dc0de21..c4dfb60 100644 --- a/python-wsproto.spec +++ b/python-wsproto.spec @@ -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