- fix version dependency on h11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?expand=0&rev=20
This commit is contained in:
Dirk Mueller 2022-02-17 20:56:49 +00:00 committed by Git OBS Bridge
parent 6d5758f272
commit 72f8f86d3f
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 17 20:56:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
- fix version dependency on h11
-------------------------------------------------------------------
Mon Jan 25 11:33:52 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-wsproto
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -29,14 +29,14 @@ Source: https://files.pythonhosted.org/packages/source/w/wsproto/wsproto
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-h11 >= 0.8.1
Requires: python-h11 >= 0.9.0
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 h11 >= 0.9.0}
BuildRequires: %{python_module pytest}
# /SECTION
%if 0%{?python_version_nodots} <= 36