Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > de51ac54258aebdf792220827e43d2fd > files > 1

rust-smallvec-1.10.0-1.mga9.src.rpm

# Generated by rust2rpm 21
# * missing dev-dependencies: debugger_test, debugger_test_parser
%bcond_with check

%global crate smallvec

Name:           rust-%{crate}
Version:        1.10.0
Release:        %mkrel 1
Summary:        'Small vector' optimization: store up to a small number of items on the stack
Group:          Development/Other

# Upstream license specification: MIT/Apache-2.0
License:        MIT or ASL 2.0
URL:            https://crates.io/crates/smallvec
Source:         %{crates_source}

ExclusiveArch:  %{rust_arches}
BuildArch:      noarch

BuildRequires:  rust-packaging >= 21
%if %{with check}
BuildRequires:  crate(bincode/default) >= 1.0.1
BuildRequires:  crate(debugger_test/default) >= 0.1.0
BuildRequires:  crate(debugger_test_parser/default) >= 0.1.0
%endif

%global _description %{expand:
'Small vector' optimization: store up to a small number of items on the stack.}

%description %{_description}

%package        devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description    devel %{_description}

This package contains library source intended for building other packages which
use the "%{crate}" crate.

%files          devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/

%package     -n %{name}+default-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+default-devel %{_description}

This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.

%files       -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+arbitrary-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+arbitrary-devel %{_description}

This package contains library source intended for building other packages which
use the "arbitrary" feature of the "%{crate}" crate.

%files       -n %{name}+arbitrary-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+const_generics-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+const_generics-devel %{_description}

This package contains library source intended for building other packages which
use the "const_generics" feature of the "%{crate}" crate.

%files       -n %{name}+const_generics-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+const_new-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+const_new-devel %{_description}

This package contains library source intended for building other packages which
use the "const_new" feature of the "%{crate}" crate.

%files       -n %{name}+const_new-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+may_dangle-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+may_dangle-devel %{_description}

This package contains library source intended for building other packages which
use the "may_dangle" feature of the "%{crate}" crate.

%files       -n %{name}+may_dangle-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+serde-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+serde-devel %{_description}

This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.

%files       -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+specialization-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+specialization-devel %{_description}

This package contains library source intended for building other packages which
use the "specialization" feature of the "%{crate}" crate.

%files       -n %{name}+specialization-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+union-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+union-devel %{_description}

This package contains library source intended for building other packages which
use the "union" feature of the "%{crate}" crate.

%files       -n %{name}+union-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+write-devel
Summary:        %{summary}
Group:          Development/Other
BuildArch:      noarch

%description -n %{name}+write-devel %{_description}

This package contains library source intended for building other packages which
use the "write" feature of the "%{crate}" crate.

%files       -n %{name}+write-devel
%ghost %{crate_instdir}/Cargo.toml

%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif



%changelog
* Tue Nov 01 2022 guillomovitch <guillomovitch> 1.10.0-1.mga9
+ Revision: 1900871
- new version 1.10.0

* Fri Jun 24 2022 papoteur <papoteur> 1.8.0-3.mga9
+ Revision: 1866022
- Mass Rebuild for dependencies

* Fri Mar 25 2022 umeabot <umeabot> 1.8.0-2.mga9
+ Revision: 1827184
- Mageia 9 Mass Rebuild

* Sun Feb 27 2022 guillomovitch <guillomovitch> 1.8.0-1.mga9
+ Revision: 1786312
- imported package rust-smallvec


* Sun Feb 27 2022 Guillaume Rousse <guillomovitch@gmail.com> - 1.8.0-1
- Initial package