From 2e6e114e2ce11f03c4a35538a594054acc9d5bc3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 22 May 2023 23:39:49 +0200 Subject: [PATCH] Update to version 3.3.0; Fixes RHBZ#2208791 --- .gitignore | 1 + README.md | 3 --- ctrlc-fix-metadata-auto.diff | 12 +++++------- rust-ctrlc.spec | 4 ++-- sources | 2 +- 5 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 4b08d23..09bd1be 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /ctrlc-3.2.2.crate /ctrlc-3.2.4.crate /ctrlc-3.2.5.crate +/ctrlc-3.3.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 63c0e0d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-ctrlc - -The rust-ctrlc package \ No newline at end of file diff --git a/ctrlc-fix-metadata-auto.diff b/ctrlc-fix-metadata-auto.diff index 96761ec..8272044 100644 --- a/ctrlc-fix-metadata-auto.diff +++ b/ctrlc-fix-metadata-auto.diff @@ -1,25 +1,23 @@ ---- ctrlc-3.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ ctrlc-3.2.5/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -47,22 +47,3 @@ +--- ctrlc-3.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ctrlc-3.3.0/Cargo.toml 2023-05-22T21:37:39.924924+00:00 +@@ -55,20 +55,3 @@ ] default-features = false -[target."cfg(windows)".dependencies.windows-sys] --version = "0.45" +-version = "0.48" -features = [ - "Win32_Foundation", - "Win32_System_Threading", - "Win32_Security", -- "Win32_System_WindowsProgramming", - "Win32_System_Console", -] - -[target."cfg(windows)".dev-dependencies.windows-sys] --version = "0.45" +-version = "0.48" -features = [ - "Win32_Storage_FileSystem", - "Win32_Foundation", - "Win32_System_IO", -- "Win32_System_SystemServices", - "Win32_System_Console", -] diff --git a/rust-ctrlc.spec b/rust-ctrlc.spec index e1f16d4..7d9bad4 100644 --- a/rust-ctrlc.spec +++ b/rust-ctrlc.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate ctrlc Name: rust-ctrlc -Version: 3.2.5 +Version: 3.3.0 Release: %autorelease Summary: Easy Ctrl-C handler for Rust projects diff --git a/sources b/sources index 2df5439..0621bec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ctrlc-3.2.5.crate) = 27ffc60b19a17b1dae2e8ff90698b0c17d7980ccdfdc680f88d2dcbdf9717c26deba239dfe34ce3d67adf0e828127db481ec82000da9cf705abb199094d27097 +SHA512 (ctrlc-3.3.0.crate) = 958abcd79a6cbdb3720fc6826b559dfe759b19a630e3d87d131f1667be96dfced68b96bfbd604fd4464add85a291e0b61c8149a6eea57d7df5976380b3892aeb