diff --git a/dnspython-2.3.0.tar.gz b/dnspython-2.3.0.tar.gz deleted file mode 100644 index aef403c5560cb178d46d6012b8754aa26e9326d5..0000000000000000000000000000000000000000 Binary files a/dnspython-2.3.0.tar.gz and /dev/null differ diff --git a/dnspython-2.4.1.tar.gz b/dnspython-2.4.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7f03948aba6d56448f4ba41a3c12cd7df54c7be1 Binary files /dev/null and b/dnspython-2.4.1.tar.gz differ diff --git a/python-dns.spec b/python-dns.spec index 30d8f3dfaa163e38ecec2cd75dae67e068b54247..bb21daf0235a638eee7e4a61e247b8aaf11c4489 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -2,16 +2,15 @@ %global pypi_name dnspython %bcond_with trio -%bcond_with curio %bcond_with doh Name: python-dns -Version: 2.3.0 +Version: 2.4.1 Release: %{anolis_release}%{?dist} Summary: DNS toolkit for Python # The entire package is licensed with both licenses, see LICENSE file -License: ISC and MIT +License: ISC URL: http://www.dnspython.org Source0: https://github.com/rthalley/%{pypi_name}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz @@ -39,7 +38,7 @@ Summary: %{summary} %description -n python3-dns %_description %generate_buildrequires -%pyproject_buildrequires -r %{?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} @@ -47,6 +46,10 @@ Summary: %{summary} # strip exec permissions so that we don't pick up dependencies from docs find examples -type f | xargs chmod a-x +# Allow newer cryptography and requests-toolbelt +sed -i 's/cryptography = {version=">=2.6,<40.0"/cryptography = {version=">=2.6,<42.0"/' pyproject.toml +sed -i 's/requests-toolbelt = {version=">=0.9.1,<0.11.0"/requests-toolbelt = {version=">=0.9.1,<=1.0.0"/' pyproject.toml + %build %pyproject_wheel @@ -64,7 +67,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 @@ -77,12 +79,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 +* Wed Mar 13 2024 mgb01105731 - 2.4.1-1 +- Update to 2.4.1 + * Sat Apr 8 2023 Funda Wang - 2.3.0-1 - New version 2.3.0 - Disable test as it requires valid /etc/resolv.conf, which does not