Disable tests to avoid pulling in outdated dev-dependencies

epel10 imports/epel10/rust-base64_0.13-0.13.1-5.el10
Fabio Valentini 6 months ago
parent fb05fcc8b0
commit afc605cfe7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,12 +0,0 @@
--- base64-0.13.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ base64-0.13.1/Cargo.toml 2023-02-23T15:49:25.031941+00:00
@@ -38,9 +38,6 @@
name = "benchmarks"
harness = false
-[dev-dependencies.criterion]
-version = "=0.3.2"
-
[dev-dependencies.rand]
version = "0.6.1"

@ -1,5 +1,6 @@
# Generated by rust2rpm 24
%bcond_without check
# Generated by rust2rpm 26
# * outdated dev-dependencies: rand ^0.6, structopt
%bcond_with check
%global debug_package %{nil}
%global crate base64
@ -13,11 +14,8 @@ Summary: Encodes and decodes base64 as bytes or utf8
License: MIT OR Apache-2.0
URL: https://crates.io/crates/base64
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: base64-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Encodes and decodes base64 as bytes or utf8.}
@ -77,7 +75,7 @@ use the "std" 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, structopt"]
Loading…
Cancel
Save