Sophie

Sophie

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

rust-tinyvec_macros-0.1.1-1.mga9.src.rpm

# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}

%global crate tinyvec_macros

Name:           rust-%{crate}
Version:        0.1.1
Release:        %mkrel 1
Summary:        Some macros for tiny containers
Group:          Development/Other

License:        MIT OR Apache-2.0 OR Zlib
URL:            https://crates.io/crates/tinyvec_macros
Source:         %{crates_source}

BuildRequires:  rust-packaging >= 21

%global _description %{expand:
Some macros for tiny containers.}

%description %{_description}

%package        devel
Summary:        %{summary}
BuildArch:      noarch

%description    devel %{_description}

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

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

%package     -n %{name}+default-devel
Summary:        %{summary}
BuildArch:      noarch

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

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

%files       -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

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

%generate_buildrequires
%cargo_generate_buildrequires

%build
%cargo_build

%install
%cargo_install

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


%changelog
* Sun Feb 05 2023 guillomovitch <guillomovitch> 0.1.1-1.mga9
+ Revision: 1938533
- new version 0.1.1

* Thu Jun 23 2022 guillomovitch <guillomovitch> 0.1.0-1.mga9
+ Revision: 1865594
- imported package rust-tinyvec_macros