Skip to content

Instantly share code, notes, and snippets.

@runlevel5
Created November 21, 2022 11:21
Show Gist options
  • Save runlevel5/a78544c5db0c942075892c434d89b022 to your computer and use it in GitHub Desktop.
Save runlevel5/a78544c5db0c942075892c434d89b022 to your computer and use it in GitHub Desktop.
From ea8c5e8b91938abafd79da1ca79b4fdd9ae4635d Mon Sep 17 00:00:00 2001
From: Trung LE <[email protected]>
Date: Mon, 21 Nov 2022 21:41:42 +1100
Subject: [PATCH] Update to version 0.25.0
---
.gitignore | 1 +
changelog | 3 +++
crossterm-fix-metadata.diff | 16 ++++++++++------
rust-crossterm.spec | 2 +-
sources | 2 +-
5 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/.gitignore b/.gitignore
index 89ebe32..6977189 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/crossterm-0.19.0.crate
/crossterm-0.20.0.crate
/crossterm-0.22.1.crate
+/crossterm-0.25.0.crate
diff --git a/changelog b/changelog
index ef24742..af1f8ed 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,6 @@
+* Mon Nov 21 2022 Trung Le <[email protected]> - 0.25.0-1
+- Update to 0.25.0
+
* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 0.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/crossterm-fix-metadata.diff b/crossterm-fix-metadata.diff
index a86a1ee..e310bad 100644
--- a/crossterm-fix-metadata.diff
+++ b/crossterm-fix-metadata.diff
@@ -1,12 +1,16 @@
---- 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 @@
+--- crossterm-0.25.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ crossterm-0.25.0/Cargo.toml 2022-02-13T11:47:33.053433+00:00
+@@ -105,13 +105,3 @@ version = "0.3.13"
[target."cfg(unix)".dependencies.signal-hook-mio]
- version = "0.2.1"
- features = ["support-v0_7"]
+ version = "0.2.3"
+ features = ["support-v0_8"]
+-
-[target."cfg(windows)".dependencies.crossterm_winapi]
-version = "0.9"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
--features = ["winuser"]
+-features = [
+- "winuser",
+- "winerror",
+-]
diff --git a/rust-crossterm.spec b/rust-crossterm.spec
index 57f7f75..b889000 100644
--- a/rust-crossterm.spec
+++ b/rust-crossterm.spec
@@ -5,7 +5,7 @@
%global crate crossterm
Name: rust-%{crate}
-Version: 0.22.1
+Version: 0.25.0
Release: %autorelease
Summary: Crossplatform terminal library for manipulating terminals
diff --git a/sources b/sources
index f62aa8a..aaf4a97 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (crossterm-0.22.1.crate) = 2a8534a12bb119be583d491b3595259d164de6922ce2a17bbe6f19fcff93339a6d0d8c08398958a7592d6aa765eb2ebc6e61b54211080785357c711b2c454d91
+SHA512 (crossterm-0.25.0.crate) = fdf2b5b4bdcbc8c7dc4e8c5e0cdf68cacdb97886b52087dde1f1be9b869c00965c0cf9db64b700801b0d1274b913703ade66a92d47aa8da604121693b8701201
--
2.38.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment