Drop unused, benchmark-only bencher dev-dependency

epel10 imports/epel10/rust-arrayvec0.5-0.5.2-10.el10
Fabio Valentini 6 months ago
parent b43433dcb5
commit 8f9c16c376
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,28 @@
--- arrayvec-0.5.2/Cargo.toml 2020-10-23T16:33:15+00:00
+++ arrayvec-0.5.2/Cargo.toml 2024-09-01T16:03:32.726340+00:00
@@ -27,25 +27,14 @@
[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"
-[profile.bench]
-debug = true
[profile.release]
debug = true
-[[bench]]
-name = "extend"
-harness = false
-
-[[bench]]
-name = "arraystring"
-harness = false
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
-[dev-dependencies.bencher]
-version = "0.1.4"
[dev-dependencies.matches]
version = "0.1"

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -13,8 +13,11 @@ Summary: Vector with fixed capacity, backed by an array
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/arrayvec URL: https://crates.io/crates/arrayvec
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only bencher dev-dependency
Patch: arrayvec-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A vector with fixed capacity, backed by an array (it can be stored on A vector with fixed capacity, backed by an array (it can be stored on
@ -111,7 +114,7 @@ use the "unstable-const-fn" 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

@ -0,0 +1,5 @@
[package]
cargo-toml-patch-comments = [
"drop unused, benchmark-only bencher dev-dependency",
]
Loading…
Cancel
Save