From 162b8d0b637fd532e382466add3eb27953a23625 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 1 Dec 2020 17:03:43 +0100 Subject: [PATCH] update to version 0.18.2 --- .gitignore | 1 + crossterm-fix-metadata.diff | 17 ++++------------- rust-crossterm.spec | 19 +++++++++++-------- sources | 2 +- 4 files changed, 17 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 1889286..1bd5bdb 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /crossterm-0.17.5.crate /crossterm-0.17.6.crate /crossterm-0.17.7.crate +/crossterm-0.18.2.crate diff --git a/crossterm-fix-metadata.diff b/crossterm-fix-metadata.diff index 8c6469b..1b7bbce 100644 --- a/crossterm-fix-metadata.diff +++ b/crossterm-fix-metadata.diff @@ -1,20 +1,11 @@ ---- crossterm-0.17.7/Cargo.toml 2020-07-13T19:33:25+00:00 -+++ crossterm-0.17.7/Cargo.toml 2020-09-11T22:54:04.818132+00:00 -@@ -41,7 +41,7 @@ - version = "1.4" - - [dependencies.parking_lot] --version = "0.10" -+version = "0.11" - - [dependencies.serde] - version = "1.0" -@@ -73,9 +73,3 @@ +--- crossterm-0.18.2/Cargo.toml 2020-10-29T16:47:26+00:00 ++++ crossterm-0.18.2/Cargo.toml 2020-12-01T15:22:55.993143+00:00 +@@ -81,9 +81,3 @@ [target."cfg(unix)".dependencies.signal-hook] version = "0.1.15" features = ["mio-0_7-support"] -[target."cfg(windows)".dependencies.crossterm_winapi] --version = "0.6.1" +-version = "0.6.2" - -[target."cfg(windows)".dependencies.winapi] -version = "0.3.8" diff --git a/rust-crossterm.spec b/rust-crossterm.spec index 72f221b..6c8cade 100644 --- a/rust-crossterm.spec +++ b/rust-crossterm.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 16 # * async-std is not packaged yet %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate crossterm Name: rust-%{crate} -Version: 0.17.7 -Release: 3%{?dist} +Version: 0.18.2 +Release: 1%{?dist} Summary: Crossplatform terminal library for manipulating terminals # Upstream license specification: MIT @@ -16,7 +16,6 @@ URL: https://crates.io/crates/crossterm Source: %{crates_source} # Initial patched metadata # * No windows -# * Bump to parking_lot 0.11, https://github.com/crossterm-rs/crossterm/pull/486 Patch0: crossterm-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -69,16 +68,16 @@ which use "event-stream" feature of "%{crate}" crate. %files -n %{name}+event-stream-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+futures-util-devel +%package -n %{name}+futures-core-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+futures-util-devel %{_description} +%description -n %{name}+futures-core-devel %{_description} This package contains library source intended for building other packages -which use "futures-util" feature of "%{crate}" crate. +which use "futures-core" feature of "%{crate}" crate. -%files -n %{name}+futures-util-devel +%files -n %{name}+futures-core-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel @@ -113,6 +112,10 @@ find -type f -executable -exec chmod -v -x '{}' + %endif %changelog +* Tue Dec 01 2020 Fabio Valentini - 0.18.2-1 +- Update to version 0.18.2. +- Fixes RHBZ#1883428 + * Fri Sep 11 2020 Josh Stone - 0.17.7-3 - Bump to parking_lot 0.11 diff --git a/sources b/sources index 5fbab67..00c4087 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossterm-0.17.7.crate) = 4400f165548e8c7cace0654a14b7d78f24080390e7a1f49c2cbc062698eef2c05b7eedbc87d0223b037933ddf7e95443f42e6655127fb45e47a281fa1c3b4483 +SHA512 (crossterm-0.18.2.crate) = 21673eb1efa4b353b48c4d2e4780505fb1deb5ab5767787acf5f7133ef45e83176ad8d020804052e6b283135e72e1fa623b8e37417f805102a39d98cd72a4f18