From e0edd9d304e4cdcfe4163df05a8a03862ff8e78b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Oct 2024 17:01:55 +0200 Subject: [PATCH] Update to version 0.3.74; Fixes RHBZ#2310767 --- .gitignore | 1 + backtrace-fix-metadata-auto.diff | 30 +++++------------------------- backtrace-fix-metadata.diff | 17 ++++------------- rust-backtrace.spec | 2 +- rust2rpm.toml | 1 - sources | 2 +- 6 files changed, 12 insertions(+), 41 deletions(-) diff --git a/.gitignore b/.gitignore index 12b59aa..32fe361 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ /backtrace-0.3.67.crate /backtrace-0.3.69.crate /backtrace-0.3.73.crate +/backtrace-0.3.74.crate diff --git a/backtrace-fix-metadata-auto.diff b/backtrace-fix-metadata-auto.diff index f6dcbf7..b68a185 100644 --- a/backtrace-fix-metadata-auto.diff +++ b/backtrace-fix-metadata-auto.diff @@ -1,31 +1,11 @@ ---- backtrace-0.3.73/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.73/Cargo.toml 2024-07-24T18:48:04.168995+00:00 -@@ -121,18 +121,6 @@ - std = [] - unix-backtrace = [] - verify-winapi = [ -- "winapi/dbghelp", -- "winapi/handleapi", -- "winapi/libloaderapi", -- "winapi/memoryapi", -- "winapi/minwindef", -- "winapi/processthreadsapi", -- "winapi/synchapi", -- "winapi/tlhelp32", -- "winapi/winbase", -- "winapi/winnt", -- "winapi/winnls", -- "winapi/stringapiset", - ] - - [target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.addr2line] -@@ -160,9 +148,6 @@ +--- backtrace-0.3.74/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ backtrace-0.3.74/Cargo.toml 2024-09-16T21:48:56.255999+00:00 +@@ -143,8 +143,6 @@ ] default-features = false --[target."cfg(windows)".dependencies.winapi] --version = "0.3.9" --optional = true +-[target."cfg(windows)".dependencies.windows-targets] +-version = "0.52.6" - [lints.rust] unexpected_cfgs = "allow" diff --git a/backtrace-fix-metadata.diff b/backtrace-fix-metadata.diff index 08fa1d2..120f25b 100644 --- a/backtrace-fix-metadata.diff +++ b/backtrace-fix-metadata.diff @@ -1,7 +1,7 @@ ---- backtrace-0.3.73/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.73/Cargo.toml 2024-07-24T18:48:25.715217+00:00 -@@ -61,20 +61,8 @@ - edition = "2021" +--- backtrace-0.3.74/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ backtrace-0.3.74/Cargo.toml 2024-09-16T21:49:07.938082+00:00 +@@ -45,20 +45,8 @@ + required-features = ["std"] [[test]] -name = "accuracy" @@ -21,12 +21,3 @@ harness = false required-features = ["std"] -@@ -124,7 +112,7 @@ - ] - - [target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.addr2line] --version = "0.22.0" -+version = "0.24.0" - default-features = false - - [target."cfg(not(all(windows, target_env = \"msvc\", not(target_vendor = \"uwp\"))))".dependencies.libc] diff --git a/rust-backtrace.spec b/rust-backtrace.spec index 3e759d6..8b9b257 100644 --- a/rust-backtrace.spec +++ b/rust-backtrace.spec @@ -5,7 +5,7 @@ %global crate backtrace Name: rust-backtrace -Version: 0.3.73 +Version: 0.3.74 Release: %autorelease Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program diff --git a/rust2rpm.toml b/rust2rpm.toml index 842d384..73c2e3b 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -9,7 +9,6 @@ hide = [ "kernel32", "libunwind", "unix-backtrace", - "verify-winapi", ] [scripts] diff --git a/sources b/sources index afeddb9..41e47b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (backtrace-0.3.73.crate) = dacedfd32cb91fe408e4f395441baf09c0a4b3bc4ba8f79d088359455cc903c93d24969567c7c5b2feb806433ffbb63a526d73f53caa4bee9c51961b61f831d9 +SHA512 (backtrace-0.3.74.crate) = 00cb2be0626f0bf6ec8b8f525bb129d3ac74c386c5e46ee0f343edb78c863222521f8132876057a5a1facacf40792dea51f2f20e986b35f3a85bca3dcf5c1520