From e3bf9f014ae2e9f7e6411dae54f08bf45483699e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 22 Jul 2018 08:31:44 +0200 Subject: [PATCH] Update to 1.0.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-termcolor.spec | 11 +++++++---- sources | 2 +- termcolor-1.0.0-fix-metadata.diff | 13 ------------- termcolor-1.0.1-fix-metadata.diff | 8 ++++++++ 5 files changed, 17 insertions(+), 18 deletions(-) delete mode 100644 termcolor-1.0.0-fix-metadata.diff create mode 100644 termcolor-1.0.1-fix-metadata.diff diff --git a/.gitignore b/.gitignore index f04a013..38e42fb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /termcolor-0.3.5.crate /termcolor-0.3.6.crate /termcolor-1.0.0.crate +/termcolor-1.0.1.crate diff --git a/rust-termcolor.spec b/rust-termcolor.spec index 3217808..2a2a405 100644 --- a/rust-termcolor.spec +++ b/rust-termcolor.spec @@ -1,11 +1,12 @@ # Generated by rust2rpm -%bcond_without check +# Tests are run in infrastructure +%bcond_with check %global debug_package %{nil} %global crate termcolor Name: rust-%{crate} -Version: 1.0.0 +Version: 1.0.1 Release: 1%{?dist} Summary: Simple cross platform library for writing colored text to a terminal @@ -14,8 +15,7 @@ URL: https://crates.io/crates/termcolor Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -# * Exclude CI files, https://github.com/BurntSushi/termcolor/pull/1 -Patch0: termcolor-1.0.0-fix-metadata.diff +Patch0: termcolor-1.0.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -55,6 +55,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sun Jul 22 2018 Igor Gnatenko - 1.0.1-1 +- Update to 1.0.1 + * Thu Jul 19 2018 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0 diff --git a/sources b/sources index 0de6c3a..99aa331 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (termcolor-1.0.0.crate) = 11b12e8ea8d37a9783c0e45d4de0b81f4a05719ac3def99f9575740d4b6b8f13a0691627b05dd01ce9af8208540ce55ad0f9ca2978fc045d62319206260f23d4 +SHA512 (termcolor-1.0.1.crate) = 4498f619e736501cbad0d242cdb7e64592de8109ed8d2dd1fc51ade5493ce21dfa9110e4ca96a603410348d61a8029e8df33d17e29e53cefd94fa662f0cde320 diff --git a/termcolor-1.0.0-fix-metadata.diff b/termcolor-1.0.0-fix-metadata.diff deleted file mode 100644 index 8dc5dad..0000000 --- a/termcolor-1.0.0-fix-metadata.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- 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" diff --git a/termcolor-1.0.1-fix-metadata.diff b/termcolor-1.0.1-fix-metadata.diff new file mode 100644 index 0000000..398d1c5 --- /dev/null +++ b/termcolor-1.0.1-fix-metadata.diff @@ -0,0 +1,8 @@ +--- termcolor-1.0.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ termcolor-1.0.1/Cargo.toml 2018-07-22T08:32:51.694302+02:00 +@@ -26,5 +26,3 @@ + [lib] + name = "termcolor" + bench = false +-[target."cfg(windows)".dependencies.wincolor] +-version = "1"