diff --git a/python-dns.spec b/python-dns.spec index 353917966c70500c4064e8d7aeac515a7a1adc87..e7b2147ac476fdda005bf0b868455086fec56ac0 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 +* Wed Oct 29 2025 gaihuiying - 2.4.2-4 +- sync to skip testResolveTCP on loongarch64 + * Mon Dec 02 2024 gaihuiying - 2.4.2-3 - fix building error