- no longer supports python 3.6, we can drop the 3.6 specific requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?expand=0&rev=25
This commit is contained in:
Dirk Mueller 2023-02-01 16:42:07 +00:00 committed by Git OBS Bridge
parent fa64657c0a
commit 8ef1003b48
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 1 16:38:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- no longer supports python 3.6, we can drop the 3.6 specific requires
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 3 16:14:29 UTC 2022 - Dirk Müller <dmueller@suse.com> Mon Oct 3 16:14:29 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-wsproto # spec file for package python-wsproto
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -32,17 +32,10 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-h11 >= 0.9.0 Requires: python-h11 >= 0.9.0
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} <= 1520
BuildRequires: %{python_module dataclasses}
%endif
BuildRequires: (python36-dataclasses if python36-base)
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module h11 >= 0.9.0} BuildRequires: %{python_module h11 >= 0.9.0}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
%if 0%{?python_version_nodots} <= 36
Requires: python-dataclasses
%endif
%python_subpackages %python_subpackages
%description %description