From 9b89b4a95fe90b4bfda3ef7cb4121e42cde04612 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 28 Aug 2024 14:06:11 +0200 Subject: [PATCH] Disable tests to avoid pulling in outdated dev-dependencies --- rust-byteorder.spec | 7 ++++--- rust2rpm.toml | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 rust2rpm.toml diff --git a/rust-byteorder.spec b/rust-byteorder.spec index a10fbba..52fc232 100644 --- a/rust-byteorder.spec +++ b/rust-byteorder.spec @@ -1,5 +1,6 @@ -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 26 +# * outdated dev-dependencies: quickcheck ^0.9, rand ^0.7 +%bcond_with check %global debug_package %{nil} %global crate byteorder @@ -13,7 +14,7 @@ License: Unlicense OR MIT URL: https://crates.io/crates/byteorder Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Library for reading/writing numbers in big-endian and little-endian.} diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..198783d --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["outdated dev-dependencies: quickcheck ^0.9, rand ^0.7"] +