diff --git a/golang.spec b/golang.spec index 5d06ed0bacb2424a80336ba147a1cf0baf584815..70fb88f5592b2dc99fa203060856071d87034f0c 100644 --- a/golang.spec +++ b/golang.spec @@ -1,4 +1,4 @@ -%define anolis_release 4 +%define anolis_release 5 # Disable debuginfo packages %global debug_package %{nil} @@ -35,7 +35,7 @@ %bcond_with bootstrap # Controls what ever we fail on failed tests -%ifarch aarch64 loongarch64 +%ifarch aarch64 loongarch64 riscv64 %bcond_with fail_on_tests %else %bcond_without fail_on_tests @@ -525,7 +525,12 @@ export CGO_ENABLED=0 #endif # make sure to not timeout +%ifnarch riscv64 export GO_TEST_TIMEOUT_SCALE=2 +%else +# NOTE(davidlt): 20 is probably too much, but it's only for riscv and it works +export GO_TEST_TIMEOUT_SCALE=20 +%endif %if %{with fail_on_tests} ./run.bash --no-rebuild -v -v -v -k @@ -594,6 +599,9 @@ fi %files docs -f go-docs.list %changelog +* Fri Jun 6 2025 Yihao Yan - 1.24.0-5 +- fix check fail in riscv build + * Tue Jun 3 2025 zhoujiajia111 - 1.24.0-4 - Provide tar package using download file