diff --git a/rust-num-integer.spec b/rust-num-integer.spec index 6701749..bddebb0 100644 --- a/rust-num-integer.spec +++ b/rust-num-integer.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.1.41 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Integer traits and functions # Upstream license specification: MIT/Apache-2.0 @@ -20,11 +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-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 %{expand: Integer traits and functions.} @@ -85,6 +80,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 @@ -97,6 +95,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 09:37:07 CEST 2019 Igor Gnatenko - 0.1.41-3 +- Regenerate + * Sun Jun 09 15:22:35 CEST 2019 Igor Gnatenko - 0.1.41-2 - Regenerate