diff --git a/.gitignore b/.gitignore index 717e922..a379f5d 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /crossterm-0.17.7.crate /crossterm-0.18.2.crate /crossterm-0.19.0.crate +/crossterm-0.20.0.crate diff --git a/crossterm-fix-metadata.diff b/crossterm-fix-metadata.diff index c799324..a6957ff 100644 --- a/crossterm-fix-metadata.diff +++ b/crossterm-fix-metadata.diff @@ -1,11 +1,11 @@ ---- crossterm-0.19.0/Cargo.toml 2020-12-28T10:05:26+00:00 -+++ crossterm-0.19.0/Cargo.toml 2021-03-21T14:46:54.683397+00:00 +--- crossterm-0.20.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ crossterm-0.20.0/Cargo.toml 2021-09-03T11:59:21.181532+00:00 @@ -81,9 +81,3 @@ - [target."cfg(unix)".dependencies.signal-hook] - version = "0.1.15" - features = ["mio-0_7-support"] + [target."cfg(unix)".dependencies.signal-hook-mio] + version = "0.2.1" + features = ["support-v0_7"] -[target."cfg(windows)".dependencies.crossterm_winapi] --version = "0.7.0" +-version = "0.8" - -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" diff --git a/rust-crossterm.spec b/rust-crossterm.spec index 124a9b6..8e8000d 100644 --- a/rust-crossterm.spec +++ b/rust-crossterm.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 17 -# * async-std is not packaged yet -%bcond_with check +# Generated by rust2rpm 18 +%bcond_without check %global debug_package %{nil} %global crate crossterm Name: rust-%{crate} -Version: 0.19.0 +Version: 0.20.0 Release: %autorelease Summary: Crossplatform terminal library for manipulating terminals @@ -15,7 +14,7 @@ License: MIT URL: https://crates.io/crates/crossterm Source: %{crates_source} # Initial patched metadata -# * No windows +# * drop windows-specific dependencies Patch0: crossterm-fix-metadata.diff ExclusiveArch: %{rust_arches} diff --git a/sources b/sources index 7fdee97..3aaaeab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossterm-0.19.0.crate) = c46c095d73be48a3c1875806547ba708a40abfc8e5cd89514162e0d1636675c4f4e2857ac3b4b32239d14f7ab57a61018b6a919160b2136ae761dbbde726b932 +SHA512 (crossterm-0.20.0.crate) = 998d5377b5e204375ba6016da678d3d3a4feb5174092b9e2dd8c8d26d8a5c7f321d60d829262f4b3a962566204fc6e804e3637494be97760e6ef66f888a6ab38