Disable tests to avoid pulling in obsolete dependencies

epel10 imports/epel10/rust-scratch-1.0.7-5.el10
Fabio Valentini 4 months ago
parent 899f4a7faa
commit 5d54010f73
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,6 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check # * obsolete dev-dependencies: fs2
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate scratch %global crate scratch
@ -13,7 +14,7 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/scratch URL: https://crates.io/crates/scratch
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Compile-time temporary directory shared by multiple crates and erased by Compile-time temporary directory shared by multiple crates and erased by
@ -49,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,2 +0,0 @@
[DEFAULT]
summary = Shared compile-time directory

@ -0,0 +1,7 @@
[package]
summary = "Shared compile-time directory"
[tests]
run = ["none"]
comments = ["obsolete dev-dependencies: fs2"]
Loading…
Cancel
Save