diff --git a/rust-cfg-if.spec b/rust-cfg-if.spec index 39a20a4..b026024 100644 --- a/rust-cfg-if.spec +++ b/rust-cfg-if.spec @@ -1,12 +1,12 @@ # Generated by rust2rpm 9 -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate cfg-if Name: rust-%{crate} Version: 0.1.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Macro to ergonomically define an item depending on a large number of #[cfg] parameters # Upstream license specification: MIT/Apache-2.0 @@ -15,6 +15,9 @@ URL: https://crates.io/crates/cfg-if Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging @@ -67,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 08 23:53:00 CEST 2019 Igor Gnatenko - 0.1.9-2 +- Regenerate + * Wed May 15 08:13:17 CEST 2019 Igor Gnatenko - 0.1.9-1 - Update to 0.1.9