已开启
[sync] PR-61: skip testResolveTCP on loongarch64 #62
AtomGit-Bot创建于 2025年5月14日
[sync] PR-61: skip testResolveTCP on loongarch64 #62
已开启
共 1 个文件变更+9-2
| @@ -14,7 +14,7 @@ messages, names, and records. | |||
| 14 | Name: python-dns | 14 | Name: python-dns |
| 15 | Summary: %{sum} | 15 | Summary: %{sum} |
| 16 | Version: 2.4.2 | 16 | Version: 2.4.2 |
| 17 | -Release: 3 | 17 | +Release: 4 |
| 18 | License: ISC and MIT | 18 | License: ISC and MIT |
| 19 | URL: http://www.dnspython.org/ | 19 | URL: http://www.dnspython.org/ |
| 20 | Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz | 20 | Source0: https://github.com/rthalley/dnspython/archive/v%{version}/dnspython-%{version}.tar.gz |
| @@ -67,7 +67,11 @@ if [ "root" == "$(whoami)" ];then | |||
| 67 | pytest | 67 | pytest |
| 68 | sed -i "2d" /etc/resolv.conf | 68 | sed -i "2d" /etc/resolv.conf |
| 69 | else | 69 | else |
| 70 | - pytest | 70 | +if [ "loongarch64" == "$(uname -m)" ];then |
| 71 | + pytest -k "not testResolveTCP" | ||
| 72 | +else | ||
| 73 | + pytest | ||
| 74 | +fi | ||
| 71 | fi | 75 | fi |
| 72 | 76 | ||
| 73 | %files -n python3-dns | 77 | %files -n python3-dns |
| @@ -79,6 +83,9 @@ fi | |||
| 79 | %doc examples | 83 | %doc examples |
| 80 | 84 | ||
| 81 | %changelog | 85 | %changelog |
| 86 | +* Thu May 8 2025 Wenlong Zhang <zhangwenlong@loongson.cn> - 2.4.2-3 | ||
C | |||
| 87 | +- skip testResolveTCP on loongarch64 | ||
| 88 | + | ||
| 82 | * Mon Dec 02 2024 gaihuiying <eaglegai@163.com> - 2.4.2-3 | 89 | * Mon Dec 02 2024 gaihuiying <eaglegai@163.com> - 2.4.2-3 |
| 83 | - fix building error | 90 | - fix building error |
| 84 | 91 | ||
这里的版本号"2.4.2-3"写错了,请修改