Use %shrink for multi-line cargo_test_skip_list
This fixes macro expansion errors on el8-era rpm. Related: RHEL-111887
This commit is contained in:
parent
fddbbf1293
commit
2c57de58c8
@ -1062,9 +1062,11 @@ rm -rf "./build/%{rust_triple}/test/"
|
||||
%endif
|
||||
%if %with disabled_libssh2
|
||||
# These tests need ssh - guaranteed to fail when libssh2 is disabled.
|
||||
%global cargo_test_skip_list %{cargo_test_skip_list} \\\
|
||||
net_err_suggests_fetch_with_cli \\\
|
||||
%global cargo_test_skip_list %{shrink:
|
||||
%{cargo_test_skip_list}
|
||||
net_err_suggests_fetch_with_cli
|
||||
ssh_something_happens
|
||||
}
|
||||
%endif
|
||||
%if "%{cargo_test_skip_list}" != ""
|
||||
%define cargo_test_skip --test-args "%(printf -- '--skip %%s ' %{cargo_test_skip_list})"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user