diff --git a/rust-num-rational.spec b/rust-num-rational.spec index a82d77e..38d3183 100644 --- a/rust-num-rational.spec +++ b/rust-num-rational.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate num-rational Name: rust-%{crate} Version: 0.2.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Rational numbers implementation for Rust # Upstream license specification: MIT/Apache-2.0 @@ -15,17 +15,22 @@ URL: https://crates.io/crates/num-rational Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(num-bigint) >= 0.2.0 with crate(num-bigint) < 0.3.0) BuildRequires: (crate(num-bigint/std) >= 0.2.0 with crate(num-bigint/std) < 0.3.0) BuildRequires: (crate(num-integer) >= 0.1.38 with crate(num-integer) < 0.2.0) BuildRequires: (crate(num-integer/std) >= 0.1.38 with crate(num-integer/std) < 0.2.0) BuildRequires: (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0) BuildRequires: (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3.0) +%endif -%global _description \ -Rational numbers implementation for Rust. +%global _description %{expand: +Rational numbers implementation for Rust.} %description %{_description} @@ -144,6 +149,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 14:49:05 CEST 2019 Igor Gnatenko - 0.2.1-7 +- Regenerate + * Sat Mar 16 2019 Igor Gnatenko - 0.2.1-6 - Do not pull optional dependencies