diff --git a/rust-approx.spec b/rust-approx.spec index d8b432d..75e25dd 100644 --- a/rust-approx.spec +++ b/rust-approx.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate approx Name: rust-%{crate} Version: 0.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Approximate floating point equality comparisons and assertions # Upstream license specification: Apache-2.0 @@ -15,12 +15,17 @@ URL: https://crates.io/crates/approx Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(num-traits) >= 0.2.0 with crate(num-traits) < 0.3.0) +%endif -%global _description \ -Approximate floating point equality comparisons and assertions. +%global _description %{expand: +Approximate floating point equality comparisons and assertions.} %description %{_description} @@ -90,6 +95,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 15:09:17 CEST 2019 Igor Gnatenko - 0.3.2-2 +- Regenerate + * Sun Mar 17 08:45:05 CET 2019 Igor Gnatenko - 0.3.2-1 - Update to 0.3.2