From d9b73e871f3b01f8180355d804434566e0f5c66b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mar 10 2019 09:21:23 +0000 Subject: Do not pull optional dependencies Signed-off-by: Igor Gnatenko --- diff --git a/rust-ryu.spec b/rust-ryu.spec index 29b6107..3ab2fd4 100644 --- a/rust-ryu.spec +++ b/rust-ryu.spec @@ -7,18 +7,17 @@ Name: rust-%{crate} Version: 0.2.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast floating point to string conversion # Upstream license specification: Apache-2.0 OR BSL-1.0 License: ASL 2.0 or Boost URL: https://crates.io/crates/ryu -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(no-panic/default) >= 0.1.0 with crate(no-panic/default) < 0.2.0) %if %{with check} BuildRequires: (crate(num_cpus/default) >= 1.8.0 with crate(num_cpus/default) < 2.0.0) BuildRequires: (crate(rand/default) >= 0.5.0 with crate(rand/default) < 0.6.0) @@ -80,7 +79,7 @@ which use "small" 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 @@ -95,6 +94,9 @@ which use "small" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.2.7-3 +- Do not pull optional dependencies + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild