diff --git a/rust-num-rational.spec b/rust-num-rational.spec index a7b0b71..14c34a8 100644 --- a/rust-num-rational.spec +++ b/rust-num-rational.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rational numbers implementation for Rust # Upstream license specification: MIT/Apache-2.0 @@ -20,15 +20,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if ! %{__cargo_skip_build} -BuildRequires: (crate(autocfg/default) >= 0.1.3 with crate(autocfg/default) < 0.2.0) -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.7 with crate(num-traits) < 0.3.0) -BuildRequires: (crate(num-traits/std) >= 0.2.7 with crate(num-traits/std) < 0.3.0) -%endif %global _description %{expand: Rational numbers implementation for Rust.} @@ -138,6 +129,9 @@ which use "std" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -150,6 +144,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 13:07:48 CEST 2019 Igor Gnatenko - 0.2.2-2 +- Regenerate + * Tue Jun 11 2019 Josh Stone - 0.2.2-1 - Update to 0.2.2