From 2ffed169b8788f3f390f33f36bdcaa94c99ca8ce Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 10 Mar 2019 11:14:34 +0100 Subject: [PATCH] Do not pull optional dependencies Signed-off-by: Igor Gnatenko --- rust-rand_core.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rust-rand_core.spec b/rust-rand_core.spec index e161a81..f6bbe7a 100644 --- a/rust-rand_core.spec +++ b/rust-rand_core.spec @@ -7,19 +7,17 @@ Name: rust-%{crate} Version: 0.4.0 -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(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde_derive/default) >= 1.0.38 with crate(serde_derive/default) < 2.0.0) %global _description \ Core random number generator traits and tools for implementation. @@ -113,7 +111,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 @@ -128,6 +126,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.4.0-3 +- Do not pull optional dependencies + * Sat Feb 02 2019 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild