From 988c8cffb83012fe17d9a3ab92ff3b75b37ec209 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 19 Jul 2018 10:10:52 +0200 Subject: [PATCH] Update to 1.0.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-termcolor.spec | 10 +++++++--- sources | 2 +- termcolor-0.3.4-fix-metadata.diff | 8 -------- termcolor-1.0.0-fix-metadata.diff | 13 +++++++++++++ 5 files changed, 22 insertions(+), 12 deletions(-) delete mode 100644 termcolor-0.3.4-fix-metadata.diff create mode 100644 termcolor-1.0.0-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 8fb2bde..f04a013 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /termcolor-0.3.4.crate /termcolor-0.3.5.crate /termcolor-0.3.6.crate +/termcolor-1.0.0.crate diff --git a/rust-termcolor.spec b/rust-termcolor.spec index 594f880..3217808 100644 --- a/rust-termcolor.spec +++ b/rust-termcolor.spec @@ -5,8 +5,8 @@ %global crate termcolor Name: rust-%{crate} -Version: 0.3.6 -Release: 2%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Simple cross platform library for writing colored text to a terminal License: Unlicense or MIT @@ -14,7 +14,8 @@ URL: https://crates.io/crates/termcolor Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -Patch0: termcolor-0.3.4-fix-metadata.diff +# * Exclude CI files, https://github.com/BurntSushi/termcolor/pull/1 +Patch0: termcolor-1.0.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -54,6 +55,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Jul 19 2018 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + * Sat Jul 14 2018 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 170e0e3..0de6c3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (termcolor-0.3.6.crate) = cfb8e0172abad994da27b1474ab0de244db782ac9c7fcd877d9f1727eaa2fb95036638edbab6b69c3302d1b880eba14cc7282ae0ec78ada1d31a9ef682d4cc90 +SHA512 (termcolor-1.0.0.crate) = 11b12e8ea8d37a9783c0e45d4de0b81f4a05719ac3def99f9575740d4b6b8f13a0691627b05dd01ce9af8208540ce55ad0f9ca2978fc045d62319206260f23d4 diff --git a/termcolor-0.3.4-fix-metadata.diff b/termcolor-0.3.4-fix-metadata.diff deleted file mode 100644 index bfeb72d..0000000 --- a/termcolor-0.3.4-fix-metadata.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- termcolor-0.3.4/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ termcolor-0.3.4/Cargo.toml 2018-02-12T16:24:26.906187+01:00 -@@ -25,5 +25,3 @@ - [lib] - name = "termcolor" - bench = false --[target."cfg(windows)".dependencies.wincolor] --version = "0.1.6" diff --git a/termcolor-1.0.0-fix-metadata.diff b/termcolor-1.0.0-fix-metadata.diff new file mode 100644 index 0000000..8dc5dad --- /dev/null +++ b/termcolor-1.0.0-fix-metadata.diff @@ -0,0 +1,13 @@ +--- termcolor-1.0.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ termcolor-1.0.0/Cargo.toml 2018-07-19T10:25:13.426025+02:00 +@@ -21,9 +21,8 @@ + keywords = ["windows", "win", "color", "ansi", "console"] + license = "Unlicense/MIT" + repository = "https://github.com/BurntSushi/termcolor" ++exclude = ["/.travis.yml", "/appveyor.yml", "/ci/**"] + + [lib] + name = "termcolor" + bench = false +-[target."cfg(windows)".dependencies.wincolor] +-version = "1"