diff --git a/rust-reqwest.spec b/rust-reqwest.spec index b179d8e..cb36e22 100644 --- a/rust-reqwest.spec +++ b/rust-reqwest.spec @@ -1,6 +1,5 @@ # Generated by rust2rpm 13 -# * Tests require network -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate reqwest @@ -239,7 +238,8 @@ which use "webpki-roots" feature of "%{crate}" crate. %if %{with check} %check -%cargo_test +# Skip tests requiring network and one depending on Cargo.lock being present +%cargo_test -- -- --skip test_badssl_modern --skip test_badssl_self_signed --skip test_badssl_wrong_host --skip file %endif %changelog