diff --git a/rust-num-complex.spec b/rust-num-complex.spec index adb6815..eac5adb 100644 --- a/rust-num-complex.spec +++ b/rust-num-complex.spec @@ -6,22 +6,19 @@ Name: rust-%{crate} Version: 0.2.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Complex numbers implementation for Rust # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/num-complex -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(num-traits) >= 0.2.4 with crate(num-traits) < 0.3.0) -BuildRequires: (crate(num-traits/i128) >= 0.2.4 with crate(num-traits/i128) < 0.3.0) BuildRequires: (crate(num-traits/std) >= 0.2.4 with crate(num-traits/std) < 0.3.0) -BuildRequires: (crate(rand) >= 0.5.0 with crate(rand) < 0.6.0) -BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) %global _description \ Complex numbers implementation for Rust. @@ -103,7 +100,7 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -118,6 +115,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Mar 16 2019 Igor Gnatenko - 0.2.1-6 +- Do not pull optional dependencies + * Sat Feb 09 2019 Igor Gnatenko - 0.2.1-5 - Run tests in infrastructure