Update to 2.4.1 (rhbz#2219703)

This commit is contained in:
Lumir Balhar 2023-08-08 09:32:23 +02:00
parent f21bd92d38
commit 467aedad41
3 changed files with 9 additions and 13 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@
/dnspython-2.2.0.tar.gz
/dnspython-2.2.1.tar.gz
/dnspython-2.3.0.tar.gz
/dnspython-2.4.1.tar.gz

View File

@ -1,8 +1,6 @@
%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 doh
@ -12,8 +10,8 @@
%endif
Name: python-dns
Version: 2.3.0
Release: 7%{?dist}
Version: 2.4.1
Release: 1%{?dist}
Summary: DNS toolkit for Python
# The entire package is licensed with both licenses, see LICENSE file
@ -41,14 +39,14 @@ manipulation of DNS zones, messages, names, and records.
%description %_description
%package -n python3-dns
Summary: %{summary}
%if %{without curio} && ! 0%{?rhel}
%if ! 0%{?rhel}
Obsoletes: python3-dns+curio < 2.3.0-6
%endif
%description -n python3-dns %_description
%generate_buildrequires
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_curio:-x curio} %{?with_doh:-x doh}
%pyproject_buildrequires -r -x dnssec -x idna %{?with_trio:-x trio} %{?with_doh:-x doh}
%prep
%autosetup -p1 -n %{pypi_name}-%{version}%{rctag}
@ -74,7 +72,6 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
%license LICENSE
%doc README.md examples
%pycached %exclude %{python3_sitelib}/dns/_trio_backend.py
%pycached %exclude %{python3_sitelib}/dns/_curio_backend.py
%pyproject_extras_subpkg -n python3-dns dnssec idna
@ -87,12 +84,10 @@ export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
%pycached %{python3_sitelib}/dns/_trio_backend.py
%endif
%if %{with curio}
%pyproject_extras_subpkg -n python3-dns curio
%pycached %{python3_sitelib}/dns/_curio_backend.py
%endif
%changelog
* Mon Jul 31 2023 Lumír Balhar <lbalhar@redhat.com> - 2.4.1-1
- Update to 2.4.1 (rhbz#2219703)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (dnspython-2.3.0.tar.gz) = 0bb4b41262a1d97b724e48b4dfb70f1fb544c18824e7d2bc2dcb8ef6c943c6c827ce753ae4ccb2ab37e95c8f5ff5d2f4853f238509f21e6299a445760c41e10e
SHA512 (dnspython-2.4.1.tar.gz) = 98f440f13b8600880cc56493d9f20bfd824d40eca4cde4ed4bcaa0fa617d30176f4d37bc391896a237bd7bd3ce99f0ef9779a2fb26dcdb02e455edec53a31fdd