fix(autopatch): auto-fix for golang on c10s

Updated find string in replace action #2: replaced the obsolete '%ifarch aarch64 / %bcond_without ignore_tests / %bcond_with ignore_tests / %endif' block with '%global fail_on_tests 1' as the anchor f
This commit is contained in:
root 2026-04-24 01:40:20 +00:00
parent 7da3da9692
commit 80ce48bd81

View File

@ -13,18 +13,10 @@ actions:
count: 1
- target: "spec"
find: |
%ifarch aarch64
%bcond_without ignore_tests
%else
%bcond_with ignore_tests
%endif
%global fail_on_tests 1
replace: |
%ifarch aarch64
%bcond_without ignore_tests
%else
%bcond_with ignore_tests
%endif
%global fail_on_tests 1
%global race 1
%ifarch riscv64
%global race 0