diff --git a/rust-grep-regex.spec b/rust-grep-regex.spec index 80f02f4..3f1be48 100644 --- a/rust-grep-regex.spec +++ b/rust-grep-regex.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-regex Name: rust-%{crate} Version: 0.1.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Use Rust's regex library with the 'grep' crate # Upstream license specification: Unlicense/MIT @@ -16,8 +15,12 @@ URL: https://crates.io/crates/grep-regex Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(aho-corasick/default) >= 0.7.3 with crate(aho-corasick/default) < 0.8.0) BuildRequires: (crate(grep-matcher/default) >= 0.1.2 with crate(grep-matcher/default) < 0.2.0) BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0) @@ -25,9 +28,10 @@ BuildRequires: (crate(regex-syntax/default) >= 0.6.5 with crate(regex-syntax/de BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0) BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/default) < 0.4.0) BuildRequires: (crate(utf8-ranges/default) >= 1.0.1 with crate(utf8-ranges/default) < 2.0.0) +%endif -%global _description \ -Use Rust's regex library with the 'grep' crate. +%global _description %{expand: +Use Rust's regex library with the 'grep' crate.} %description %{_description} @@ -73,6 +77,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 10:14:57 CEST 2019 Igor Gnatenko - 0.1.3-2 +- Regenerate + * Tue Apr 16 2019 Josh Stone - 0.1.3-1 - Update to 0.1.3