From e57335f583e0169e349e7c43401de31b1d92a3e7 Mon Sep 17 00:00:00 2001 From: Paul Murphy Date: Thu, 13 Aug 2026 15:50:08 -0500 Subject: [PATCH] Disable `disable-git-dep-with-scp-submodule` cargo test The test needs DNS resolution and will always fail in brew builders. Resolves: RHEL-141250 --- rust.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rust.spec b/rust.spec index 1a4d4d5..c4eeff3 100644 --- a/rust.spec +++ b/rust.spec @@ -1101,6 +1101,10 @@ rm -rf "./build/%{rust_triple}/test/" # have DNS resolution, so the test will always fail. %global cargo_test_skip_list %{cargo_test_skip_list} publish_to_crates_io_warns +# Requires DNS resolution to github.com, this test will always fail. +# Additionally SCP-like directions are essentially ssh which is not available in RHEL +%global cargo_test_skip_list %{cargo_test_skip_list} dep_with_scp_like_submodule_url + %ifarch aarch64 # https://github.com/rust-lang/rust/issues/123733 %global cargo_test_skip_list %{cargo_test_skip_list} panic_abort_doc_tests