From a2a432fb322e53d1104fb60974fb743917b3f0f5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 30 Mar 2023 22:09:31 +0200 Subject: [PATCH] Update to version 0.3.67; Fixes RHBZ#2153583 --- .gitignore | 1 + README.md | 3 --- backtrace-fix-metadata-auto.diff | 6 +++--- backtrace-fix-metadata.diff | 21 +++++++-------------- rust-backtrace.spec | 11 ++++------- sources | 2 +- 6 files changed, 16 insertions(+), 28 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index a9e1a78..ef09a0a 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /backtrace-0.3.61.crate /backtrace-0.3.64.crate /backtrace-0.3.66.crate +/backtrace-0.3.67.crate diff --git a/README.md b/README.md deleted file mode 100644 index b6f992f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-backtrace - -The rust-backtrace package \ No newline at end of file diff --git a/backtrace-fix-metadata-auto.diff b/backtrace-fix-metadata-auto.diff index 8341996..9197998 100644 --- a/backtrace-fix-metadata-auto.diff +++ b/backtrace-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- backtrace-0.3.66/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.66/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -121,18 +121,5 @@ +--- backtrace-0.3.67/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ backtrace-0.3.67/Cargo.toml 2023-03-30T18:24:56.581547+00:00 +@@ -127,18 +127,5 @@ std = [] unix-backtrace = [] verify-winapi = [ diff --git a/backtrace-fix-metadata.diff b/backtrace-fix-metadata.diff index 22d1ef2..8f057a5 100644 --- a/backtrace-fix-metadata.diff +++ b/backtrace-fix-metadata.diff @@ -1,29 +1,22 @@ ---- backtrace-0.3.66/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ backtrace-0.3.66/Cargo.toml 2022-08-09T16:52:09.034297+00:00 +--- backtrace-0.3.67/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ backtrace-0.3.67/Cargo.toml 2023-03-30T18:25:14.041607+00:00 @@ -25,6 +25,7 @@ readme = "README.md" - license = "MIT/Apache-2.0" + license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/backtrace-rs" +exclude = ["/ci/"] [[example]] name = "backtrace" -@@ -48,17 +49,12 @@ - edition = "2018" +@@ -44,11 +45,6 @@ [[test]] --name = "accuracy" + name = "smoke" -required-features = ["std"] -edition = "2018" - -[[test]] - name = "concurrent-panics" - harness = false +-name = "accuracy" required-features = ["std"] + edition = "2018" - [dependencies.addr2line] --version = "0.17.0" -+version = "0.18.0" - default-features = false - - [dependencies.cfg-if] diff --git a/rust-backtrace.spec b/rust-backtrace.spec index d9b99c6..a765b9e 100644 --- a/rust-backtrace.spec +++ b/rust-backtrace.spec @@ -1,32 +1,29 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate backtrace Name: rust-backtrace -Version: 0.3.66 +Version: 0.3.67 Release: %autorelease Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/backtrace Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: backtrace-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes -# * bump addr2line from 0.17.0 to 0.18.0 # * drop accuracy test (requires crates to be built in dylib mode) # * exclude files for upstream CI Patch: backtrace-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -Library to acquire a stack trace (backtrace) at runtime in a Rust program.} +A library to acquire a stack trace (backtrace) at runtime in a Rust +program.} %description %{_description} diff --git a/sources b/sources index 5205a85..3454d56 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (backtrace-0.3.66.crate) = 7370ce52d0b949a6faa05f91225f60928e42e52c00ed2ba4054ef7efd41cd65c77b0e67c8afb9d5bf834eb4b1451b642720521e17d1954be810e3c5fc70bf646 +SHA512 (backtrace-0.3.67.crate) = 8603a3b63f4f08be315176908134243680bf1a4b0e6cb26ed81f5fc1060279126ca0ef28f209a10289e1a85214b35db6b496affd71ad21524094f3ee3acd31b6