diff --git a/rust-bytecount.spec b/rust-bytecount.spec index a53407b..597423e 100644 --- a/rust-bytecount.spec +++ b/rust-bytecount.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.5.1 -Release: 2%{?dist} +Release: 3%{?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,11 +20,13 @@ 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 @@ -122,6 +124,9 @@ which use "runtime-dispatch-simd" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 12:26:22 CEST 2019 Igor Gnatenko - 0.5.1-3 +- Fix skip_build + * Sat Jun 08 23:49:59 CEST 2019 Igor Gnatenko - 0.5.1-2 - Regenerate