File project.diff of Package dnsdiag

--- dnsdiag.changes.orig
+++ dnsdiag.changes
@@ -1,4 +1,53 @@
 -------------------------------------------------------------------
+Fri Oct 31 10:49:42 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 2.9.1
+  * Multithreaded DNS Evaluation: dnseval now uses concurrent
+    evaluation when testing multiple DNS resolvers, improving
+    evaluation times. The tool employs ThreadPoolExecutor with up
+    to 10 worker threads for parallel testing while maintaining
+    thread-safe output handling. Results continue to be displayed
+    in the same order as the input file.
+  * Cookie Display Enhancement: DNS COOKIE output in dnsping is
+    now truncated to 8 hex characters followed by "..." in normal
+    mode, keeping output compact and readable. Full cookie details
+    remain available when using verbose mode.
+
+-------------------------------------------------------------------
+Sun Oct 26 09:14:13 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Switch to pyproject macros.
+- Update to version 2.9.0
+  New Features
+  * Added --nsid support to dnstraceroute for tracing paths to
+    anycast instances.
+  * Added DNS COOKIE support to dnsping (--cookie).
+  * Added DoQ (DNS over QUIC) and DoH3 (DNS over HTTP/3) protocol
+    support to dnseval.
+  * Added cache warmup behavior to dnseval for fair resolver
+    comparisons.
+  * Added EDNS flags display in dnseval output.
+  * Added Python 3.14 support.
+  Improvements
+  * Refactored codebase with PEP 8 conventions and comprehensive
+    type hints.
+  * Improved CLI error handling and parameter validation across
+    all tools.
+  * Enhanced hostname validation to allow RFC-compliant hostnames
+    starting with underscore.
+  * Improved IPv6 address display with bracket wrapping for
+    readability.
+  Bug Fixes
+  * Fixed IPv4/IPv6 address family selection to default to
+    AF_UNSPEC for automatic detection.
+  * Fixed DoH3 feature detection to properly check HTTPVersion.H3.
+  * Fixed IPv6 hostname resolution to avoid IPv4-mapped IPv6
+    addresses.
+  * Fixed DNS COOKIE display in normal and verbose modes.
+  * Fixed JSON output type consistency for float values.
+  * Fixed premature TCP connection termination handling.
+
+-------------------------------------------------------------------
 Sat Oct  4 15:22:35 UTC 2025 - Martin Hauke <mardnh@gmx.de>
 
 - Update to version 2.8.1
--- dnsdiag.spec.orig
+++ dnsdiag.spec
@@ -17,9 +17,10 @@
 #
 
 
-%bcond_without test
+%define pythons python3
+%bcond_with test
 Name:           dnsdiag
-Version:        2.8.1
+Version:        2.9.1
 Release:        0
 Summary:        DNS request auditing toolset
 License:        BSD-3-Clause
@@ -30,9 +31,10 @@ Source:         https://github.com/farro
 Source1:        dnseval.1
 Source2:        dnsping.1
 Source3:        dnstraceroute.1
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-setuptools
 Requires:       python3-aioquic >= 1.2.0
 Requires:       python3-cryptography >= 42.0.5
 Requires:       python3-cymruwhois >= 1.6
@@ -43,6 +45,7 @@ BuildArch:      noarch
 %if %{with test}
 BuildRequires:  python3-cymruwhois >= 1.6
 BuildRequires:  python3-dnspython >= 2.6.1
+BuildRequires:  python3-pytest
 %endif
 
 %description
@@ -67,21 +70,21 @@ of a resolver.
 
 %prep
 %autosetup -n dnsdiag-%{version}
-sed -e '/^#!\//, 1d' -i dnsdiag/*.py
+sed -e '/^#!\//, 1d' -i *.py dnsdiag/*.py
 
 %build
-%python3_build
+%pyproject_wheel
 
 %install
-%python3_install
-%fdupes %{buildroot}%{python3_sitelib}
-mv %{buildroot}%{_bindir}/dnseval.py %{buildroot}%{_bindir}/dnseval
-mv %{buildroot}%{_bindir}/dnstraceroute.py %{buildroot}%{_bindir}/dnstraceroute
-mv %{buildroot}%{_bindir}/dnsping.py %{buildroot}%{_bindir}/dnsping
+%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 install -d -m0755 %{buildroot}%{_mandir}/man1/
-install -m0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/
-install -m0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/
-install -m0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/
+install -m0644 %{SOURCE1} %{SOURCE2} %{SOURCE3} -t %{buildroot}%{_mandir}/man1/
+
+%check
+%if %{with test}
+%pytest
+%endif
 
 %files
 %doc README.md
@@ -92,6 +95,11 @@ install -m0644 %{SOURCE3} %{buildroot}%{
 %{_mandir}/man1/dnseval.1%{?ext_man}
 %{_mandir}/man1/dnstraceroute.1%{?ext_man}
 %{_mandir}/man1/dnsping.1%{?ext_man}
-%{python3_sitelib}/dnsdiag*
+%{python_sitelib}/dnseval.py
+%{python_sitelib}/dnsping.py
+%{python_sitelib}/dnstraceroute.py
+%{python_sitelib}/dnsdiag
+%{python_sitelib}/dnsdiag-%{version}.dist-info
+%pycache_only %{python_sitelib}/__pycache__
 
 %changelog
openSUSE Build Service is sponsored by