Disable the [curio] extra

This commit is contained in:
Miro Hrončok 2023-07-03 13:37:53 +02:00
parent 939c8a2210
commit d1c83c1bba

View File

@ -1,13 +1,13 @@
%global pypi_name dnspython
%global rctag %{nil}
# curio is discontinued upstream and not ready for Python 3.12
%bcond_with curio
%if 0%{?rhel}
%bcond_with trio
%bcond_with curio
%bcond_with doh
%else
%bcond_without trio
%bcond_without curio
%bcond_without doh
%endif
@ -41,6 +41,9 @@ manipulation of DNS zones, messages, names, and records.
%description %_description
%package -n python3-dns
Summary: %{summary}
%if %{without curio} && ! 0%{?rhel}
Obsoletes: python3-dns+curio < 2.3.0-6
%endif
%description -n python3-dns %_description