Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 8b8cf93acb
commit f79a4c76e5
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,13 +1,12 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 9
%bcond_without check
%global debug_package %{nil}
%global crate grep-searcher
Name: rust-%{crate}
Version: 0.1.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fast line oriented regex searching as a library
# Upstream license specification: Unlicense/MIT
@ -16,8 +15,12 @@ URL: https://crates.io/crates/grep-searcher
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%if ! %{__cargo_skip_build}
BuildRequires: (crate(bstr/std) >= 0.1.2 with crate(bstr/std) < 0.2.0)
BuildRequires: (crate(bytecount/default) >= 0.5.0 with crate(bytecount/default) < 0.6.0)
BuildRequires: (crate(bytecount/runtime-dispatch-simd) >= 0.5.0 with crate(bytecount/runtime-dispatch-simd) < 0.6.0)
@ -30,9 +33,10 @@ BuildRequires: (crate(memmap/default) >= 0.7.0 with crate(memmap/default) < 0.8
BuildRequires: (crate(grep-regex/default) >= 0.1.3 with crate(grep-regex/default) < 0.2.0)
BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0)
%endif
%endif
%global _description \
Fast line oriented regex searching as a library.
%global _description %{expand:
Fast line oriented regex searching as a library.}
%description %{_description}
@ -74,6 +78,18 @@ which use "avx-accel" feature of "%{crate}" crate.
%files -n %{name}+avx-accel-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+simd-accel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+simd-accel-devel %{_description}
This package contains library source intended for building other packages
which use "simd-accel" feature of "%{crate}" crate.
%files -n %{name}+simd-accel-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
@ -90,6 +106,9 @@ which use "avx-accel" feature of "%{crate}" crate.
%endif
%changelog
* Sun Jun 09 10:15:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-2
- Regenerate
* Tue Apr 16 12:01:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-1
- Update to 0.1.4

Loading…
Cancel
Save