From 551d301638f7ee46d90075ed7dd049297c381331 Mon Sep 17 00:00:00 2001 From: eaglegai Date: Wed, 29 Oct 2025 10:05:13 +0800 Subject: [PATCH] sync to skip testResolveTCP on loongarch64 --- python-dns.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-dns.spec b/python-dns.spec index 3539179..e7b2147 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 -- Gitee