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 # Generated by rust2rpm 9
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate grep-searcher %global crate grep-searcher
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.4 Version: 0.1.4
Release: 1%{?dist} Release: 2%{?dist}
Summary: Fast line oriented regex searching as a library Summary: Fast line oriented regex searching as a library
# Upstream license specification: Unlicense/MIT # Upstream license specification: Unlicense/MIT
@ -16,8 +15,12 @@ URL: https://crates.io/crates/grep-searcher
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if ! %{__cargo_skip_build}
BuildRequires: (crate(bstr/std) >= 0.1.2 with crate(bstr/std) < 0.2.0) 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/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) 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(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) BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0)
%endif %endif
%endif
%global _description \ %global _description %{expand:
Fast line oriented regex searching as a library. Fast line oriented regex searching as a library.}
%description %{_description} %description %{_description}
@ -74,6 +78,18 @@ which use "avx-accel" feature of "%{crate}" crate.
%files -n %{name}+avx-accel-devel %files -n %{name}+avx-accel-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %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 %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
@ -90,6 +106,9 @@ which use "avx-accel" feature of "%{crate}" crate.
%endif %endif
%changelog %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 * Tue Apr 16 12:01:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-1
- Update to 0.1.4 - Update to 0.1.4

Loading…
Cancel
Save