diff --git a/rust-rand_core0.3.spec b/rust-rand_core0.3.spec index 14a4f2b..bd85884 100644 --- a/rust-rand_core0.3.spec +++ b/rust-rand_core0.3.spec @@ -7,20 +7,18 @@ Name: rust-%{crate}0.3 Version: 0.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Core random number generator traits and tools for implementation # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/rand_core -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(rand_core/alloc) >= 0.4.0 with crate(rand_core/alloc) < 0.5.0) BuildRequires: (crate(rand_core/default) >= 0.4.0 with crate(rand_core/default) < 0.5.0) -BuildRequires: (crate(rand_core/serde1) >= 0.4.0 with crate(rand_core/serde1) < 0.5.0) BuildRequires: (crate(rand_core/std) >= 0.4.0 with crate(rand_core/std) < 0.5.0) %global _description \ @@ -91,7 +89,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 @@ -106,6 +104,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Mar 16 2019 Igor Gnatenko - 0.3.1-3 +- Do not pull optional dependencies + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild