diff --git a/python-dns.spec b/python-dns.spec index 353917966c70500c4064e8d7aeac515a7a1adc87..2f6adff7a7d68b4e26b966eb29dda521da3dc903 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -14,7 +14,7 @@ messages, names, and records. Name: python-dns Summary: %{sum} Version: 2.4.2 -Release: 3 +Release: 4 License: ISC and MIT URL: http://www.dnspython.org/ Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz @@ -67,7 +67,11 @@ if [ "root" == "$(whoami)" ];then pytest sed -i "2d" /etc/resolv.conf else - pytest +if [ "loongarch64" == "$(uname -m)" ];then + pytest -k "not testResolveTCP" +else + pytest +fi fi %files -n python3-dns @@ -79,6 +83,9 @@ fi %doc examples %changelog +* Thu May 8 2025 Wenlong Zhang - 2.4.2-3 +- skip testResolveTCP on loongarch64 + * Mon Dec 02 2024 gaihuiying - 2.4.2-3 - fix building error