已开启
[sync] PR-61: skip testResolveTCP on loongarch64 #62
[sync] PR-61: skip testResolveTCP on loongarch64 #62
已开启
AtomGit-Bot创建于 2025年5月14日
共 1 个文件变更+9-2
@@ -14,7 +14,7 @@ messages, names, and records.
14Name: python-dns14Name: python-dns
15Summary: %{sum}15Summary: %{sum}
16Version: 2.4.216Version: 2.4.2
17-Release: 317+Release: 4
18License: ISC and MIT18License: ISC and MIT
19URL: http://www.dnspython.org/19URL: http://www.dnspython.org/
20Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz20Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz
@@ -67,7 +67,11 @@ if [ "root" == "$(whoami)" ];then
67 pytest67 pytest
68 sed -i "2d" /etc/resolv.conf68 sed -i "2d" /etc/resolv.conf
69else69else
70- pytest70+if [ "loongarch64" == "$(uname -m)" ];then
71+ pytest -k "not testResolveTCP"
72+else
73+ pytest
74+fi
71fi75fi
72 76 
73%files -n python3-dns77%files -n python3-dns
@@ -79,6 +83,9 @@ fi
79%doc examples83%doc examples
80 84 
81%changelog85%changelog
86+* Thu May 8 2025 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.4.2-3
C
CCharlie_li2025年10月16日

这里的版本号"2.4.2-3"写错了,请修改

likedislike
87+- skip testResolveTCP on loongarch64
88+ 
82* Mon Dec 02 2024 gaihuiying <eaglegai@163.com> - 2.4.2-389* Mon Dec 02 2024 gaihuiying <eaglegai@163.com> - 2.4.2-3
83- fix building error90- fix building error
84 91