From 4acd690f96245b9d8ca24dd1ec81a868f834aad9 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 23 Aug 2023 11:33:50 +0200 Subject: [PATCH] Update to version 4.2.0; Fixes RHBZ#2232921 --- .gitignore | 1 + rust-thread-id.spec | 2 +- sources | 2 +- thread-id-fix-metadata-auto.diff | 11 ++++------- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 0f5a96f..9a7cfcc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /thread-id-3.3.0.crate /thread-id-4.0.0.crate /thread-id-4.1.0.crate +/thread-id-4.2.0.crate diff --git a/rust-thread-id.spec b/rust-thread-id.spec index 66ce753..76c29e6 100644 --- a/rust-thread-id.spec +++ b/rust-thread-id.spec @@ -5,7 +5,7 @@ %global crate thread-id Name: rust-thread-id -Version: 4.1.0 +Version: 4.2.0 Release: %autorelease Summary: Get a unique thread ID diff --git a/sources b/sources index 94ce24f..0df2619 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (thread-id-4.1.0.crate) = d74f808c4053a02f1b8347584ba584062c3d6f2e053460c7f7702516bdb3d885fe1a7c5d373fac55590499ea5464d2e491d710a793b71c1c3e933d4377d06273 +SHA512 (thread-id-4.2.0.crate) = 0c9a608c6839b6261a653d9911e92d9e3793823510cf389c9908c0b9a6744fe49d3d3a9612316cc4d665c439e3b62386fab30f5fe9509f29e7a6912902d4004a diff --git a/thread-id-fix-metadata-auto.diff b/thread-id-fix-metadata-auto.diff index aa2e5ed..aa86cc2 100644 --- a/thread-id-fix-metadata-auto.diff +++ b/thread-id-fix-metadata-auto.diff @@ -1,16 +1,13 @@ ---- thread-id-4.1.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ thread-id-4.1.0/Cargo.toml 2023-05-17T12:59:34.279151+00:00 -@@ -20,13 +20,8 @@ +--- thread-id-4.2.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ thread-id-4.2.0/Cargo.toml 2023-08-23T09:32:43.246091+00:00 +@@ -20,10 +20,5 @@ keywords = ["thread", "pthread", "getcurrentthreadid"] license = "MIT/Apache-2.0" repository = "https://github.com/ruuda/thread-id" -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] -version = "0.2" [target."cfg(unix)".dependencies.libc] - version = "0.2.6" + version = "0.2.147" -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["processthreadsapi"] - [badges.appveyor] - branch = "v4.1.0" - repository = "ruuda/thread-id-y5v5o"