Disable tests to avoid pulling in outdated dev-dependencies

epel10 imports/epel10/rust-humantime-2.1.0-12.el10
Fabio Valentini 5 months ago
parent babd6319d4
commit b844a3cc78
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,6 @@
# Generated by rust2rpm 24
%bcond_without check
# Generated by rust2rpm 26
# * outdated dev-dependencies: rand ^0.6, time ^0.1
%bcond_with check
%global debug_package %{nil}
%global crate humantime
@ -14,7 +15,7 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/humantime
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A parser and formatter for std::time::{Duration, SystemTime}.}
@ -49,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -0,0 +1,4 @@
[tests]
run = ["none"]
comments = ["outdated dev-dependencies: rand ^0.6, time ^0.1"]
Loading…
Cancel
Save