From 56b42d275f04bc36488f97cdb5c96a1b53c5796f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 10 Apr 2023 21:14:04 +0200 Subject: [PATCH] Update to version 0.2.6; Fixes RHBZ#2183909 --- .gitignore | 1 + README.md | 3 --- rust-terminal_size.spec | 4 ++-- sources | 2 +- terminal_size-fix-metadata-auto.diff | 8 ++++---- 5 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 4e3c718..d925bbe 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /terminal_size-0.1.17.crate /terminal_size-0.2.3.crate /terminal_size-0.2.5.crate +/terminal_size-0.2.6.crate diff --git a/README.md b/README.md deleted file mode 100644 index cdb5f1a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-terminal_size - -The rust-terminal_size package \ No newline at end of file diff --git a/rust-terminal_size.spec b/rust-terminal_size.spec index 656f463..2b23998 100644 --- a/rust-terminal_size.spec +++ b/rust-terminal_size.spec @@ -5,7 +5,7 @@ %global crate terminal_size Name: rust-terminal_size -Version: 0.2.5 +Version: 0.2.6 Release: %autorelease Summary: Gets the size of your Linux or Windows terminal @@ -64,7 +64,7 @@ use the "default" feature of the "%{crate}" crate. %if %{with check} %check -# stty: /dev/stderr: Inappropriate ioctl for device +# skip tests that don't work without a TTY %cargo_test -- -- --skip unix::compare_with_stty %endif diff --git a/sources b/sources index 44d36dc..d4c5bb4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (terminal_size-0.2.5.crate) = 0f32d8708967e46a5def904d13d49a2496cfbbb9b19ab71aa5b24afcff6ee3677054b1181b529b85cf36cc9e87b9334a93b094dc8b4e236ca92b3e440ff9de54 +SHA512 (terminal_size-0.2.6.crate) = 95f38bc00f8c5e1a6913bb2a0a7c46d96e02a4f3234af1623ad3d7be41eae677e77f1b5d5d005d1e9d778fcc6c87196f67a51ab37caab5b4d299da79c85d06ed diff --git a/terminal_size-fix-metadata-auto.diff b/terminal_size-fix-metadata-auto.diff index 678c871..fbcfbe7 100644 --- a/terminal_size-fix-metadata-auto.diff +++ b/terminal_size-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- terminal_size-0.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ terminal_size-0.2.5/Cargo.toml 2023-02-19T21:20:14.796053+00:00 +--- terminal_size-0.2.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ terminal_size-0.2.6/Cargo.toml 2023-04-04T14:08:35.547424+00:00 @@ -31,9 +31,3 @@ - version = "0.36.3" + version = "0.37.0" features = ["termios"] -[target."cfg(windows)".dependencies.windows-sys] --version = "0.45.0" +-version = "0.48.0" -features = [ - "Win32_Foundation", - "Win32_System_Console",