diff --git a/rust-grep.spec b/rust-grep.spec index be14570..e199d62 100644 --- a/rust-grep.spec +++ b/rust-grep.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate grep Name: rust-%{crate} Version: 0.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast line oriented regex searching as a library # Upstream license specification: Unlicense/MIT @@ -16,8 +15,12 @@ URL: https://crates.io/crates/grep Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +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) @@ -27,9 +30,10 @@ BuildRequires: (crate(grep-searcher/default) >= 0.1.4 with crate(grep-searcher/ 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 \ -Fast line oriented regex searching as a library. +%global _description %{expand: +Fast line oriented regex searching as a library.} %description %{_description} @@ -123,6 +127,9 @@ which use "simd-accel" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 09:56:28 CEST 2019 Igor Gnatenko - 0.2.4-2 +- Regenerate + * Tue Apr 16 13:39:47 CEST 2019 Igor Gnatenko - 0.2.4-1 - Update to 0.2.4