From d3d6ab0180c7af04838c504fe2fda8f9b9ad1988 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 13 Feb 2022 12:51:03 +0100 Subject: [PATCH] Update to version 0.22.1 --- .gitignore | 1 + crossterm-fix-metadata.diff | 8 ++++---- rust-crossterm.spec | 29 +++++++++++++---------------- sources | 2 +- 4 files changed, 19 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index a379f5d..89ebe32 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /crossterm-0.18.2.crate /crossterm-0.19.0.crate /crossterm-0.20.0.crate +/crossterm-0.22.1.crate diff --git a/crossterm-fix-metadata.diff b/crossterm-fix-metadata.diff index a6957ff..a86a1ee 100644 --- a/crossterm-fix-metadata.diff +++ b/crossterm-fix-metadata.diff @@ -1,11 +1,11 @@ ---- 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 @@ +--- crossterm-0.22.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ crossterm-0.22.1/Cargo.toml 2022-02-13T11:47:33.053433+00:00 +@@ -84,9 +84,3 @@ [target."cfg(unix)".dependencies.signal-hook-mio] version = "0.2.1" features = ["support-v0_7"] -[target."cfg(windows)".dependencies.crossterm_winapi] --version = "0.8" +-version = "0.9" - -[target."cfg(windows)".dependencies.winapi] -version = "0.3.9" diff --git a/rust-crossterm.spec b/rust-crossterm.spec index 8e8000d..57f7f75 100644 --- a/rust-crossterm.spec +++ b/rust-crossterm.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate crossterm Name: rust-%{crate} -Version: 0.20.0 +Version: 0.22.1 Release: %autorelease Summary: Crossplatform terminal library for manipulating terminals @@ -18,9 +18,6 @@ Source: %{crates_source} Patch0: crossterm-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -35,12 +32,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE -%doc README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -49,8 +46,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -61,8 +58,8 @@ BuildArch: noarch %description -n %{name}+event-stream-devel %{_description} -This package contains library source intended for building other packages -which use "event-stream" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "event-stream" feature of the "%{crate}" crate. %files -n %{name}+event-stream-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -73,8 +70,8 @@ BuildArch: noarch %description -n %{name}+futures-core-devel %{_description} -This package contains library source intended for building other packages -which use "futures-core" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-core" feature of the "%{crate}" crate. %files -n %{name}+futures-core-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -85,8 +82,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 3aaaeab..f62aa8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossterm-0.20.0.crate) = 998d5377b5e204375ba6016da678d3d3a4feb5174092b9e2dd8c8d26d8a5c7f321d60d829262f4b3a962566204fc6e804e3637494be97760e6ef66f888a6ab38 +SHA512 (crossterm-0.22.1.crate) = 2a8534a12bb119be583d491b3595259d164de6922ce2a17bbe6f19fcff93339a6d0d8c08398958a7592d6aa765eb2ebc6e61b54211080785357c711b2c454d91