Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 8653fcfe34ff053155bfd4e305ec87d4 > files > 2

rust-aho-corasick-0.7.20-1.mga9.src.rpm

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

%global crate aho-corasick

Name:           rust-%{crate}
Version:        0.7.20
Release:        %mkrel 1
Summary:        Fast multiple substring searching
Group:          Development/Other

# Upstream license specification: Unlicense/MIT
License:        Unlicense or MIT
URL:            https://crates.io/crates/aho-corasick
Source:         %{crates_source}

ExclusiveArch:  %{rust_arches}

BuildRequires:  rust-packaging
%if ! %{__cargo_skip_build}
BuildRequires:  crate(memchr) >= 2.4.0
BuildRequires:  crate(memchr/std) >= 2.4.0
%endif

%global _description %{expand:
Fast multiple substring searching.}

%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 "%{crate}" crate.

%files          devel
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/

%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 "default" feature of "%{crate}" crate.

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

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

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

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

%files       -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 Dec 13 2022 guillomovitch <guillomovitch> 0.7.20-1.mga9
+ Revision: 1921808
- new version 0.7.20

* Sun Oct 09 2022 guillomovitch <guillomovitch> 0.7.19-2.mga9
+ Revision: 1895800
- rebuild to fix dependencies

* Sat Sep 24 2022 neoclust <neoclust> 0.7.19-1.mga9
+ Revision: 1891985
- New version 0.7.19

* Wed Mar 23 2022 umeabot <umeabot> 0.7.18-2.mga9
+ Revision: 1821109
- Mageia 9 Mass Rebuild

* Mon Feb 21 2022 guillomovitch <guillomovitch> 0.7.18-1.mga9
+ Revision: 1782565
- imported package rust-aho-corasick


* Mon Feb 21 2022 Guillaume Rousse <guillomovitch@gmail.com> - 0.7.18-1
- Initial package