diff --git a/git.spec b/git.spec index 50d949de848320c48ee6ab6287afc230f537a787..eb6f86a0a7dcad71b59ed83c8cabe1ba5d8c884a 100644 --- a/git.spec +++ b/git.spec @@ -1,7 +1,11 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_without docs +%ifarch x86_64 +%bcond_with tests +%else %bcond_without tests +%endif %bcond_with linkcheck %bcond_without asciidoctor %bcond_with cvs @@ -519,6 +523,12 @@ GIT_SKIP_TESTS="t5559 \ GIT_SKIP_TESTS="$GIT_SKIP_TESTS t5541.37 t5551.25" %endif +%ifarch riscv64 +# Skip tests which fail on riscv64 +# t5541.36 'push 2000 tags over http' +# t7812.18 'PCRE v2: grep avoid endless loop bug' +GIT_SKIP_TESTS="$GIT_SKIP_TESTS t5541.36 t7812.18" +%endif export GIT_SKIP_TESTS @@ -683,6 +693,10 @@ rmdir --ignore-fail-on-non-empty "$testdir" %changelog +* Wed Jun 26 2025 mgb01105731 - 2.47.1-2 +- Skip tests which fail on riscv64 +- Skip tests on x86 + * Thu Mar 13 2025 mgb01105731 - 2.47.1-1 - Update to 2.47.1 from 2.41.0 - update license data and convert to SPDX format