diff --git a/rust-heck.spec b/rust-heck.spec index 31ee822..c89e90a 100644 --- a/rust-heck.spec +++ b/rust-heck.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 9 -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate heck Name: rust-%{crate} Version: 0.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Case conversion library # Upstream license specification: MIT OR Apache-2.0 @@ -15,9 +15,11 @@ URL: https://crates.io/crates/heck Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(unicode-segmentation/default) >= 1.2.0 with crate(unicode-segmentation/default) < 2.0.0) %global _description %{expand: Case conversion library.} @@ -54,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -66,7 +71,10 @@ which use "default" feature of "%{crate}" crate. %endif %changelog -* Fri May 31 14:01:44 CEST 2019 Igor Gnatenko - 0.3.1-1 +* Sat Jun 22 20:38:50 CEST 2019 Igor Gnatenko - 0.3.1-5 +- Regenerate + +* Fri May 31 14:01:44 CEST 2019 Igor Gnatenko - 0.3.1-4 - Regenerate * Sat Mar 09 2019 Igor Gnatenko - 0.3.1-3