From b1c316429e4493384af3a7ba2fde7d6654a7b441 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 1 Sep 2024 16:55:32 +0200 Subject: [PATCH] Disable tests to avoid pulling in outdated dev-dependencies --- rust-sha1_smol.spec | 3 ++- rust2rpm.toml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 rust2rpm.toml diff --git a/rust-sha1_smol.spec b/rust-sha1_smol.spec index 3b46c68..84d61ea 100644 --- a/rust-sha1_smol.spec +++ b/rust-sha1_smol.spec @@ -1,5 +1,6 @@ # Generated by rust2rpm 26 -%bcond_without check +# * outdated dev-dependencies: rand ^0.4 +%bcond_with check %global debug_package %{nil} %global crate sha1_smol diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..5a643af --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["outdated dev-dependencies: rand ^0.4"] +