public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-addr2line] rawhide: Update to version 0.27.1; Fixes RHBZ#2432546
Date: Thu, 19 Nov 2026 18:38:20 GMT	[thread overview]
Message-ID: <179511350010.1.18006272121661587596.rpms-rust-addr2line-f91c6139bea9@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-addr2line
Branch : rawhide
Commit : f91c6139bea9fd5a567dc4378f6d38c882c4e3ce
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-19T18:21:21+01:00
Stats  : +24/-56 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-addr2line/c/f91c6139bea9fd5a567dc4378f6d38c882c4e3ce?branch=rawhide

Log:
Update to version 0.27.1; Fixes RHBZ#2432546

---
diff --git a/.gitignore b/.gitignore
index 6a91f67..021c459 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
 /addr2line-0.24.1.crate
 /addr2line-0.24.2.crate
 /addr2line-0.25.1.crate
+/addr2line-0.27.1.crate

diff --git a/addr2line-0.25.1-cpp_demangle-0.5.patch b/addr2line-0.25.1-cpp_demangle-0.5.patch
deleted file mode 100644
index 7bc87ad..0000000
--- a/addr2line-0.25.1-cpp_demangle-0.5.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur addr2line-0.25.1-original/src/frame.rs addr2line-0.25.1/src/frame.rs
---- addr2line-0.25.1-original/src/frame.rs	2006-07-24 02:21:28.000000000 +0100
-+++ addr2line-0.25.1/src/frame.rs	2025-11-04 18:14:44.750755496 +0000
-@@ -196,7 +196,7 @@
-         | gimli::DW_LANG_C_plus_plus_11
-         | gimli::DW_LANG_C_plus_plus_14 => cpp_demangle::Symbol::new(name)
-             .ok()
--            .and_then(|x| x.demangle(&Default::default()).ok()),
-+            .and_then(|x| x.demangle_with_options(&Default::default()).ok()),
-         _ => None,
-     }
- }

diff --git a/addr2line-fix-metadata.diff b/addr2line-fix-metadata.diff
index 51e8504..36e5ec9 100644
--- a/addr2line-fix-metadata.diff
+++ b/addr2line-fix-metadata.diff
@@ -1,14 +1,25 @@
---- addr2line-0.25.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ addr2line-0.25.1/Cargo.toml	2025-11-04T18:17:07.092322+00:00
-@@ -54,7 +54,6 @@
-     "cpp_demangle",
-     "fallible-iterator",
-     "smallvec",
+--- addr2line-0.27.1/Cargo.toml	2006-07-24T01:21:28+00:00
++++ addr2line-0.27.1/Cargo.toml	2026-11-14T20:46:07.969980+00:00
+@@ -44,18 +44,6 @@
+ repository = "https://github.com/gimli-rs/addr2line"
+ 
+ [features]
+-all = [
+-    "bin",
+-    "wasm",
+-]
+-bin = [
+-    "loader",
+-    "rustc-demangle",
+-    "cpp_demangle",
+-    "fallible-iterator",
+-    "smallvec",
 -    "dep:clap",
- ]
+-]
  cargo-all = []
  default = [
-@@ -82,20 +81,10 @@
+     "rustc-demangle",
+@@ -82,20 +70,10 @@
  name = "addr2line"
  path = "src/lib.rs"
  
@@ -29,12 +40,3 @@
  
  [dependencies.core]
  version = "1.0.0"
-@@ -103,7 +92,7 @@
- package = "rustc-std-workspace-core"
- 
- [dependencies.cpp_demangle]
--version = "0.4"
-+version = "0.5"
- features = ["alloc"]
- optional = true
- default-features = false

diff --git a/rust-addr2line.spec b/rust-addr2line.spec
index 8f43e0d..50f2be7 100644
--- a/rust-addr2line.spec
+++ b/rust-addr2line.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
 # * resolve circular dependency with backtrace
 %bcond check 0
 %global debug_package %{nil}
@@ -9,7 +9,7 @@
 %global crate addr2line
 
 Name:           rust-addr2line
-Version:        0.25.1
+Version:        0.27.1
 Release:        %autorelease
 Summary:        Cross-platform symbolication library written in Rust, using gimli
 
@@ -19,13 +19,7 @@ Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
 # * drop binary and test that requires bin
 # * drop clap dependency, only used by bin
-# * update cpp_demangle dependency to 0.5,
-#   https://github.com/gimli-rs/addr2line/pull/361
 Patch:          addr2line-fix-metadata.diff
-# * Update cpp_demangle dependency to 0.5,
-#   https://github.com/gimli-rs/addr2line/pull/361. This is the source-code
-#   change that was required for compatibility with cpp_demangle 0.5.
-Patch10:        addr2line-0.25.1-cpp_demangle-0.5.patch
 
 BuildRequires:  cargo-rpm-macros >= 26
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 026280c..b6df9b4 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -3,28 +3,11 @@ cargo-install-bin = false
 cargo-toml-patch-comments = [
     "drop binary and test that requires bin",
     "drop clap dependency, only used by bin",
-    """\
-    update cpp_demangle dependency to 0.5, \
-    https://github.com/gimli-rs/addr2line/pull/361\
-    """
-]
-
-[[package.extra-patches]]
-number = 10
-file = "addr2line-0.25.1-cpp_demangle-0.5.patch"
-comments = [
-    """\
-    Update cpp_demangle dependency to 0.5, \
-    https://github.com/gimli-rs/addr2line/pull/361. This is the source-code \
-    change that was required for compatibility with cpp_demangle 0.5.\
-    """
 ]
 
 [features]
 hide = [
-    "all", # only contains bin
     "alloc",
-    "bin", # only needed by the binary which we don't ship
     "core",
     "rustc-dep-of-std",
     "wasm",
@@ -37,6 +20,6 @@ prep.post = [
 ]
 
 [tests]
-run = ["none"]
+run = false
 comments = ["resolve circular dependency with backtrace"]
 

diff --git a/sources b/sources
index 175ce6f..ff9be1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (addr2line-0.25.1.crate) = c400f3b6ccaff8a1c0d7d82c708a1784b8fd5ba64b6e420e85819d59b1cadb55fa59c852925093b921469f272d1d5140cf12f013ae75d1e1bc85021097df8fc2
+SHA512 (addr2line-0.27.1.crate) = 0a5c5495da259972662a70028786af8ecaae2ab1d996757530fe8f6d5e72e609b802fb1961bad933a62b49cbffaa3de4831f28e1dcdefcf82e035d4f8cd59798

                 reply	other threads:[~2026-11-19 18:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179511350010.1.18006272121661587596.rpms-rust-addr2line-f91c6139bea9@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox