diff --git a/dnspython-2.3.0.tar.gz b/dnspython-2.3.0.tar.gz deleted file mode 100644 index 77669b4d8d68db53f7ed1b03efa84d4a5e2b58c9..0000000000000000000000000000000000000000 Binary files a/dnspython-2.3.0.tar.gz and /dev/null differ diff --git a/dnspython-2.6.1.tar.gz b/dnspython-2.6.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c05f57350b65858a518c6359cbc6eb9810afbc73 Binary files /dev/null and b/dnspython-2.6.1.tar.gz differ diff --git a/python-dnspython.spec b/python-dnspython.spec index fd4d84c7232f5671fb025e660fb66cce94a37d1f..e3edcd81fb9964b8745869411ee87d770be3b353 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -1,24 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-dnspython -Version: 2.3.0 +Version: 2.6.1 Release: 1 Summary: DNS toolkit License: ISC URL: https://www.dnspython.org -Source0: https://files.pythonhosted.org/packages/91/8b/522301c50ca1f78b09c2ca116ffb0fd797eadf6a76085d376c01f9dd3429/dnspython-2.3.0.tar.gz +Source0: https://files.pythonhosted.org/packages/37/7d/c871f55054e403fdfd6b8f65fd6d1c4e147ed100d3e9f9ba1fe695403939/dnspython-2.6.1.tar.gz BuildArch: noarch -Requires: python3-cryptography -Requires: python3-curio -Requires: python3-h2 -Requires: python3-httpx -Requires: python3-idna -Requires: python3-requests -Requires: python3-requests-toolbelt -Requires: python3-sniffio -Requires: python3-trio -Requires: python3-wmi - %description dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG @@ -33,6 +22,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-hatchling %description -n python3-dnspython dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG @@ -50,43 +40,42 @@ authenticated messages and EDNS0. %autosetup -n dnspython-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd -mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-dnspython -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-dnspython +%license LICENSE +%doc README.md +%{python3_sitelib}/dns +%{python3_sitelib}/dns*.dist-info/* + %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Apr 23 2024 Dongxing Wang - 2.6.1-1 +- Upgrade package with version 2.6.1 + The Tudoor fix ate legitimate Truncated exceptions. + Add support for the NSID EDNS option. + Use hatchling for builds. + Cython is no longer supported due to various typing issues. + Explicitly canonicalizes IPv4 and IPv6 addresses. + * Wed Jul 05 2023 chenzixuan - 2.3.0-1 - Upgrade package to version 2.3.0