|
|
@ -1,25 +1,23 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
%bcond_without check
|
|
|
|
%bcond check 1
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate tinyvec
|
|
|
|
%global crate tinyvec
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-tinyvec
|
|
|
|
Version: 1.6.0
|
|
|
|
Version: 1.8.1
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: 100% safe vec-like data structures
|
|
|
|
Summary: 100% safe vec-like data structures
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Zlib OR Apache-2.0 OR MIT
|
|
|
|
License: Zlib OR Apache-2.0 OR MIT
|
|
|
|
License: zlib or ASL 2.0 or MIT
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/tinyvec
|
|
|
|
URL: https://crates.io/crates/tinyvec
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop criterion dev-dependency (only used in benchmarks) to speed up builds
|
|
|
|
# * drop unused debugger_visualizer support
|
|
|
|
Patch0: tinyvec-fix-metadata.diff
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
|
|
|
|
Patch: tinyvec-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
`tinyvec` provides 100% safe vec-like data structures.}
|
|
|
|
`tinyvec` provides 100% safe vec-like data structures.}
|
|
|
@ -42,7 +40,6 @@ use the "%{crate}" crate.
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%{crate_instdir}/
|
|
|
|
%{crate_instdir}/
|
|
|
|
%exclude %{crate_instdir}/{src-backup/,*.sh,*.py,rustfmt.toml}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -152,6 +149,18 @@ use the "rustc_1_57" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+rustc_1_57-devel
|
|
|
|
%files -n %{name}+rustc_1_57-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rustc_1_61-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rustc_1_61-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "rustc_1_61" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rustc_1_61-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -189,7 +198,7 @@ use the "tinyvec_macros" 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
|
|
|
|