diff --git a/rust-unicase.spec b/rust-unicase.spec index 2e30471..0682a45 100644 --- a/rust-unicase.spec +++ b/rust-unicase.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate unicase Name: rust-%{crate} Version: 2.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Case-insensitive wrapper around strings # Upstream license specification: MIT/Apache-2.0 @@ -15,12 +15,14 @@ URL: https://crates.io/crates/unicase Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(version_check/default) >= 0.1.0 with crate(version_check/default) < 0.2.0) -%global _description \ -A case-insensitive wrapper around strings. +%global _description %{expand: +Case-insensitive wrapper around strings.} %description %{_description} @@ -67,6 +69,9 @@ which use "nightly" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -79,6 +84,9 @@ which use "nightly" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 22:04:52 CEST 2019 Igor Gnatenko - 2.4.0-2 +- Regenerate + * Thu May 02 08:44:46 CEST 2019 Igor Gnatenko - 2.4.0-1 - Update to 2.4.0