96a8cd6
# Generated by rust2rpm 24
dc45021
%bcond_without check
43fefb6
%global debug_package %{nil}
43fefb6
43fefb6
%global crate vec_map
43fefb6
96a8cd6
Name:           rust-vec_map
cf06b27
Version:        0.8.2
e0ab2f5
Release:        %autorelease
43fefb6
Summary:        Simple map based on a vector for small integer keys
43fefb6
18b851a
# Upstream license specification: MIT/Apache-2.0
96a8cd6
License:        MIT OR Apache-2.0
43fefb6
URL:            https://crates.io/crates/vec_map
8061e58
Source:         %{crates_source}
43fefb6
96a8cd6
BuildRequires:  rust-packaging >= 21
43fefb6
dc45021
%global _description %{expand:
96a8cd6
A simple map based on a vector for small integer keys.}
18b851a
18b851a
%description %{_description}
43fefb6
43fefb6
%package        devel
43fefb6
Summary:        %{summary}
43fefb6
BuildArch:      noarch
43fefb6
18b851a
%description    devel %{_description}
18b851a
96a8cd6
This package contains library source intended for building other packages which
96a8cd6
use the "%{crate}" crate.
18b851a
18b851a
%files          devel
96a8cd6
%license %{crate_instdir}/LICENSE-APACHE
96a8cd6
%license %{crate_instdir}/LICENSE-MIT
96a8cd6
%doc %{crate_instdir}/README.md
96a8cd6
%{crate_instdir}/
18b851a
18b851a
%package     -n %{name}+default-devel
18b851a
Summary:        %{summary}
18b851a
BuildArch:      noarch
18b851a
18b851a
%description -n %{name}+default-devel %{_description}
43fefb6
96a8cd6
This package contains library source intended for building other packages which
96a8cd6
use the "default" feature of the "%{crate}" crate.
18b851a
18b851a
%files       -n %{name}+default-devel
96a8cd6
%ghost %{crate_instdir}/Cargo.toml
18b851a
18b851a
%package     -n %{name}+eders-devel
18b851a
Summary:        %{summary}
18b851a
BuildArch:      noarch
18b851a
18b851a
%description -n %{name}+eders-devel %{_description}
18b851a
96a8cd6
This package contains library source intended for building other packages which
96a8cd6
use the "eders" feature of the "%{crate}" crate.
18b851a
18b851a
%files       -n %{name}+eders-devel
96a8cd6
%ghost %{crate_instdir}/Cargo.toml
18b851a
18b851a
%package     -n %{name}+serde-devel
18b851a
Summary:        %{summary}
18b851a
BuildArch:      noarch
18b851a
18b851a
%description -n %{name}+serde-devel %{_description}
18b851a
96a8cd6
This package contains library source intended for building other packages which
96a8cd6
use the "serde" feature of the "%{crate}" crate.
18b851a
18b851a
%files       -n %{name}+serde-devel
96a8cd6
%ghost %{crate_instdir}/Cargo.toml
43fefb6
43fefb6
%prep
8061e58
%autosetup -n %{crate}-%{version_no_tilde} -p1
43fefb6
%cargo_prep
43fefb6
45cb498
%generate_buildrequires
45cb498
%cargo_generate_buildrequires
45cb498
43fefb6
%build
43fefb6
%cargo_build
43fefb6
43fefb6
%install
43fefb6
%cargo_install
43fefb6
43fefb6
%if %{with check}
43fefb6
%check
43fefb6
%cargo_test
43fefb6
%endif
43fefb6
43fefb6
%changelog
e0ab2f5
%autochangelog