From 57e811ac2b287274b73b32b4108ea0eb60eac9e760163e5b2708854273d80c8e Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Sun, 11 Oct 2020 17:31:31 +0000 Subject: [PATCH] Accepting request 841059 from home:jayvdb:py-submit - Add missing runtime dependency on dataclasses OBS-URL: https://build.opensuse.org/request/show/841059 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?expand=0&rev=12 --- python-wsproto.changes | 5 +++++ python-wsproto.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/python-wsproto.changes b/python-wsproto.changes index 9d77c57..5981f85 100644 --- a/python-wsproto.changes +++ b/python-wsproto.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 11 17:11:49 UTC 2020 - John Vandenberg + +- Add missing runtime dependency on dataclasses + ------------------------------------------------------------------- Sat Aug 10 14:36:31 UTC 2019 - Luigi Baldoni diff --git a/python-wsproto.spec b/python-wsproto.spec index f5823b5..5b79442 100644 --- a/python-wsproto.spec +++ b/python-wsproto.spec @@ -27,9 +27,15 @@ Group: Development/Languages/Python URL: https://pypi.python.org/pypi/wsproto Source: https://files.pythonhosted.org/packages/source/w/wsproto/wsproto-%{version}.tar.gz BuildRequires: %{python_module setuptools} +%if 0%{?suse_version} <= 1520 +BuildRequires: %{python_module dataclasses} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-h11 >= 0.8.1 +%if 0%{?suse_version} <= 1520 +Requires: python-dataclasses +%endif BuildArch: noarch %python_subpackages