From 467aedad419524e49932dbe059bffd46f5dbcb6e Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 8 Aug 2023 09:32:23 +0200 Subject: [PATCH] Update to 2.4.1 (rhbz#2219703) --- .gitignore | 1 + python-dns.spec | 19 +++++++------------ sources | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 5419834..f7b1d75 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-dns.spec b/python-dns.spec index e960cc4..c41b364 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -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 - 2.4.1-1 +- Update to 2.4.1 (rhbz#2219703) + * Fri Jul 21 2023 Fedora Release Engineering - 2.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 80fbd2c..434c4b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dnspython-2.3.0.tar.gz) = 0bb4b41262a1d97b724e48b4dfb70f1fb544c18824e7d2bc2dcb8ef6c943c6c827ce753ae4ccb2ab37e95c8f5ff5d2f4853f238509f21e6299a445760c41e10e +SHA512 (dnspython-2.4.1.tar.gz) = 98f440f13b8600880cc56493d9f20bfd824d40eca4cde4ed4bcaa0fa617d30176f4d37bc391896a237bd7bd3ce99f0ef9779a2fb26dcdb02e455edec53a31fdd