From afc60bde9c4f5e9075775b51b084c7e2de45e2a7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 10 Mar 2019 11:30:00 +0100 Subject: [PATCH] Do not pull optional dependencies Signed-off-by: Igor Gnatenko --- rust-time.spec | 6 ++++-- time-fix-metadata.diff | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rust-time.spec b/rust-time.spec index faa36b7..2fc6bf8 100644 --- a/rust-time.spec +++ b/rust-time.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.1.42 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utilities for working with time-related functions in Rust # Upstream license specification: MIT/Apache-2.0 @@ -22,7 +22,6 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(libc/default) >= 0.2.1 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0) %if %{with check} BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) %endif @@ -86,6 +85,9 @@ which use "rustc-serialize" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.1.42-4 +- Do not pull optional dependencies + * Tue Mar 05 2019 Igor Gnatenko - 0.1.42-3 - Run tests in infrastructure diff --git a/time-fix-metadata.diff b/time-fix-metadata.diff index d92e3f0..d287edb 100644 --- a/time-fix-metadata.diff +++ b/time-fix-metadata.diff @@ -1,5 +1,5 @@ --- time-0.1.42/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ time-0.1.42/Cargo.toml 2019-03-05T20:16:56.228134+01:00 ++++ time-0.1.42/Cargo.toml 2019-03-10T11:30:31.077339+01:00 @@ -19,6 +19,7 @@ documentation = "https://doc.rust-lang.org/time" license = "MIT/Apache-2.0"