|
|
@ -1,23 +1,19 @@
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate arrayvec
|
|
|
|
%global crate arrayvec
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-arrayvec
|
|
|
|
Name: rust-arrayvec
|
|
|
|
Version: 0.7.6
|
|
|
|
Version: 0.7.4
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Vector with fixed capacity, backed by an array
|
|
|
|
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
|
|
|
|
|
|
|
|
# * drop unused support for borsh
|
|
|
|
|
|
|
|
Patch: arrayvec-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
@ -90,7 +86,7 @@ use the "zeroize" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|