Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 7e060d88009cf615b8bd27aae9fc3f31 > files > 2

rust-block-buffer-0.10.3-1.mga9.src.rpm

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

%global crate block-buffer

Name:           rust-block-buffer
Version:        0.10.3
Release:        %mkrel 1
Summary:        Buffer type for block processing of data
Group:          Development/Other

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

ExclusiveArch:  %{rust_arches}

BuildRequires:  rust-packaging >= 21
BuildRequires:  crate(generic-array/default) >= 0.14.0

%global _description %{expand:
Buffer type for block processing of data.}

%description %{_description}

%package        devel
Summary:        %{summary}
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}/CHANGELOG.md
%doc %{crate_instdir}/README.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 the "default" feature of the "%{crate}" crate.

%files       -n %{name}+default-devel
%ghost %{crate_instdir}/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
* Mon Oct 24 2022 guillomovitch <guillomovitch> 0.10.3-1.mga9
+ Revision: 1899031
- imported package rust-block-buffer