|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.5.1
|
|
|
|
Version: 0.5.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Count occurrences of a byte, or the UTF-8 code points, in a byte slice, fast
|
|
|
|
Summary: Count occurrences of a byte, or the UTF-8 code points, in a byte slice, fast
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
@ -20,13 +20,6 @@ BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(criterion) >= 0.2.7 with crate(criterion) < 0.3.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(quickcheck/default) >= 0.8.0 with crate(quickcheck/default) < 0.9.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Count occurrences of a given byte, or the number of UTF-8 code points, in a
|
|
|
|
Count occurrences of a given byte, or the number of UTF-8 code points, in a
|
|
|
@ -112,6 +105,9 @@ which use "runtime-dispatch-simd" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -124,6 +120,9 @@ which use "runtime-dispatch-simd" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 20 16:53:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-4
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 12:26:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-3
|
|
|
|
* Sun Jun 09 12:26:22 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-3
|
|
|
|
- Fix skip_build
|
|
|
|
- Fix skip_build
|
|
|
|
|
|
|
|
|
|
|
|