|
|
|
@ -1,23 +1,20 @@
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate tinyvec
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Name: rust-tinyvec
|
|
|
|
|
Version: 1.6.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: 100% safe vec-like data structures
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Zlib OR Apache-2.0 OR MIT
|
|
|
|
|
License: zlib or ASL 2.0 or MIT
|
|
|
|
|
License: Zlib OR Apache-2.0 OR MIT
|
|
|
|
|
URL: https://crates.io/crates/tinyvec
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * drop criterion dev-dependency (only used in benchmarks) to speed up builds
|
|
|
|
|
Patch0: tinyvec-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
|
Patch: tinyvec-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
@ -42,7 +39,6 @@ use the "%{crate}" crate.
|
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
%exclude %{crate_instdir}/{src-backup/,*.sh,*.py,rustfmt.toml}
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|