diff --git a/rust-bytecount.spec b/rust-bytecount.spec index 597423e..9726945 100644 --- a/rust-bytecount.spec +++ b/rust-bytecount.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} 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 # Upstream license specification: Apache-2.0/MIT @@ -20,13 +20,6 @@ BuildArch: noarch %endif 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: 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 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -124,6 +120,9 @@ which use "runtime-dispatch-simd" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 16:53:52 CEST 2019 Igor Gnatenko - 0.5.1-4 +- Regenerate + * Sun Jun 09 12:26:22 CEST 2019 Igor Gnatenko - 0.5.1-3 - Fix skip_build