diff --git a/.gitignore b/.gitignore index 0438c64..aae747a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /console-0.6.1.crate +/console-0.6.2.crate diff --git a/console-fix-metadata.diff b/console-fix-metadata.diff index 5ce7f4c..35eaec5 100644 --- a/console-fix-metadata.diff +++ b/console-fix-metadata.diff @@ -1,25 +1,9 @@ ---- console-0.6.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ console-0.6.1/Cargo.toml 2018-09-03T09:35:42.329911+02:00 -@@ -24,7 +24,7 @@ - version = "0.2.0" - - [dependencies.lazy_static] --version = "0.2" -+version = "1" - - [dependencies.libc] - version = "0" -@@ -33,12 +33,9 @@ - version = "0" - - [dependencies.regex] --version = "0.2" -+version = "1" - - [dependencies.unicode-width] +--- console-0.6.2/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ console-0.6.2/Cargo.toml 2018-09-11T16:19:39.348965-07:00 +@@ -42,6 +42,3 @@ version = "0.1" [target."cfg(unix)".dependencies.termios] --version = "0.2" --[target."cfg(windows)".dependencies.winapi] 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 3b60a47..cf9896c 100644 --- a/rust-console.spec +++ b/rust-console.spec @@ -5,7 +5,7 @@ %global crate console Name: rust-%{crate} -Version: 0.6.1 +Version: 0.6.2 Release: 1%{?dist} Summary: Terminal and console abstraction for Rust @@ -13,7 +13,6 @@ License: MIT URL: https://crates.io/crates/console Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * Bump lazy_static to 1 and regex to 1 and termios to 0.3, https://github.com/mitsuhiko/console/pull/6 # * No Windows Patch0: console-fix-metadata.diff @@ -21,6 +20,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] +BuildRequires: (crate(atty) >= 0.2.11 with crate(atty) < 0.3.0) BuildRequires: (crate(clicolors-control) >= 0.2.0 with crate(clicolors-control) < 0.3.0) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(libc) >= 0.0.0 with crate(libc) < 1.0.0) @@ -64,5 +64,8 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Tue Sep 11 2018 Josh Stone - 0.6.2-1 +- Update to 0.6.2 + * Mon Sep 03 2018 Igor Gnatenko - 0.6.1-1 - Initial package diff --git a/sources b/sources index 92000f0..19969b3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (console-0.6.1.crate) = 92d567cfee16d581fce21f3170f778fb85caaea35e8d28232158f0f8f470cac25ce39eb2920e3906d2fb3c80b1f1f90493c8d571abfabba046d0e7061af3ba34 +SHA512 (console-0.6.2.crate) = 07e101f2f0717c20c05a4b51470e5dfa02df68c41593b10ed912fbd32034f3a43acee144fbfe4989d858917d13b4587a4f19de99f7b63c7253717c7afb7d060b