diff --git a/rust-grep.spec b/rust-grep.spec index e199d62..66cd0e9 100644 --- a/rust-grep.spec +++ b/rust-grep.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.2.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast line oriented regex searching as a library # Upstream license specification: Unlicense/MIT @@ -20,17 +20,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if ! %{__cargo_skip_build} -BuildRequires: (crate(grep-cli/default) >= 0.1.2 with crate(grep-cli/default) < 0.2.0) -BuildRequires: (crate(grep-matcher/default) >= 0.1.2 with crate(grep-matcher/default) < 0.2.0) -BuildRequires: (crate(grep-printer/default) >= 0.1.2 with crate(grep-printer/default) < 0.2.0) -BuildRequires: (crate(grep-regex/default) >= 0.1.3 with crate(grep-regex/default) < 0.2.0) -BuildRequires: (crate(grep-searcher/default) >= 0.1.4 with crate(grep-searcher/default) < 0.2.0) -%if %{with check} -BuildRequires: (crate(termcolor/default) >= 1.0.4 with crate(termcolor/default) < 2.0.0) -BuildRequires: (crate(walkdir/default) >= 2.2.7 with crate(walkdir/default) < 3.0.0) -%endif -%endif %global _description %{expand: Fast line oriented regex searching as a library.} @@ -115,6 +104,9 @@ which use "simd-accel" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -127,6 +119,9 @@ which use "simd-accel" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 12 13:01:11 CEST 2019 Igor Gnatenko - 0.2.4-3 +- Dynamic BuildRequires + * Sun Jun 09 09:56:28 CEST 2019 Igor Gnatenko - 0.2.4-2 - Regenerate