From c42de966326fbfa84829aa373f80439b241be3cd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 15:24:36 +0100 Subject: [PATCH] Update to 0.7.5 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + console-fix-metadata.diff | 9 ++++++--- rust-console.spec | 13 ++++++++----- sources | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index aae747a..c3bd99b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /console-0.6.1.crate /console-0.6.2.crate +/console-0.7.5.crate diff --git a/console-fix-metadata.diff b/console-fix-metadata.diff index 238f404..c5e9362 100644 --- a/console-fix-metadata.diff +++ b/console-fix-metadata.diff @@ -1,9 +1,12 @@ ---- console-0.6.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ console-0.6.2/Cargo.toml 2018-11-03T14:19:37.051208+01:00 -@@ -42,6 +42,3 @@ +--- console-0.7.5/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ console-0.7.5/Cargo.toml 2019-01-28T15:24:46.476951+01:00 +@@ -42,9 +42,3 @@ version = "0.1" [target."cfg(unix)".dependencies.termios] version = "0.3" +-[target."cfg(windows)".dependencies.encode_unicode] +-version = "0.3" +- -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["winbase", "winuser", "consoleapi", "processenv", "wincon"] diff --git a/rust-console.spec b/rust-console.spec index 7467ae5..c13035a 100644 --- a/rust-console.spec +++ b/rust-console.spec @@ -6,13 +6,13 @@ %global crate console Name: rust-%{crate} -Version: 0.6.2 -Release: 3%{?dist} +Version: 0.7.5 +Release: 1%{?dist} Summary: Terminal and console abstraction for Rust License: MIT URL: https://crates.io/crates/console -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No Windows Patch0: console-fix-metadata.diff @@ -21,7 +21,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(atty/default) >= 0.2.11 with crate(atty/default) < 0.3.0) -BuildRequires: (crate(clicolors-control/default) >= 0.2.0 with crate(clicolors-control/default) < 0.3.0) +BuildRequires: (crate(clicolors-control/default) >= 1.0.0 with crate(clicolors-control/default) < 2.0.0) BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(libc/default) >= 0.0.0 with crate(libc/default) < 1.0.0) BuildRequires: (crate(parking_lot/default) >= 0.0.0 with crate(parking_lot/default) < 1.0.0) @@ -61,7 +61,7 @@ which use "default" 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 @@ -76,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Jan 28 2019 Igor Gnatenko - 0.7.5-1 +- Update to 0.7.5 + * Thu Dec 20 2018 Igor Gnatenko - 0.6.2-3 - Run tests in infrastructure diff --git a/sources b/sources index 19969b3..8b3a454 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (console-0.6.2.crate) = 07e101f2f0717c20c05a4b51470e5dfa02df68c41593b10ed912fbd32034f3a43acee144fbfe4989d858917d13b4587a4f19de99f7b63c7253717c7afb7d060b +SHA512 (console-0.7.5.crate) = 61a67ba46cee6485920b9ef9208bc21c7413be3d9583b7c4d5d95d7853a92f25b0cc2202fcc3b53b6fdd28f6d4aed07bbce5ecfb7e2db310bebb5798a1dea499