From 0f7e581d1f4fbbea77329974bdadf9e20209b909 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 19 2018 08:30:47 +0000 Subject: Bump termcolor to 1 Signed-off-by: Igor Gnatenko --- diff --git a/env_logger-0.5.10-fix-metadata.diff b/env_logger-0.5.10-fix-metadata.diff new file mode 100644 index 0000000..83851fb --- /dev/null +++ b/env_logger-0.5.10-fix-metadata.diff @@ -0,0 +1,11 @@ +--- env_logger-0.5.10/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ env_logger-0.5.10/Cargo.toml 2018-07-19T10:30:26.694568+02:00 +@@ -44,7 +44,7 @@ + optional = true + + [dependencies.termcolor] +-version = "0.3" ++version = "1" + + [features] + default = ["regex"] diff --git a/rust-env_logger.spec b/rust-env_logger.spec index 01cefa5..c9a0265 100644 --- a/rust-env_logger.spec +++ b/rust-env_logger.spec @@ -6,12 +6,15 @@ Name: rust-%{crate} Version: 0.5.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Logging implementation for `log` which is configured via environment variable License: MIT or ASL 2.0 URL: https://crates.io/crates/env_logger Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump env_logger to 1, https://github.com/sebasmagri/env_logger/pull/90 +Patch0: env_logger-0.5.10-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -21,7 +24,7 @@ BuildRequires: (crate(atty) >= 0.2.0 with crate(atty) < 0.3.0) BuildRequires: (crate(humantime) >= 1.1.0 with crate(humantime) < 2.0.0) BuildRequires: ((crate(log) >= 0.4.0 with crate(log) < 0.5.0) with crate(log/std)) BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0) -BuildRequires: (crate(termcolor) >= 0.3.0 with crate(termcolor) < 0.4.0) +BuildRequires: (crate(termcolor) >= 1.0.0 with crate(termcolor) < 2.0.0) %description %{summary}. @@ -58,6 +61,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Jul 19 2018 Igor Gnatenko - 0.5.10-3 +- Bump termcolor to 1 + * Sat Jul 14 2018 Fedora Release Engineering - 0.5.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild