public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lubos Kardos <lkardos@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - Pass _find_debuginfo_opts -g to eu-strip for executables
Date: Mon, 23 Nov 2026 09:29:20 GMT [thread overview]
Message-ID: <179542616090.1.12270507867744385062.rpms-rpm-fa230ece286e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : fa230ece286ecd84477a2bc16593d08af957ab23
Author : Lubos Kardos <lkardos@redhat.com>
Date : 2015-03-27T16:23:43+01:00
Stats : +13/-6 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/fa230ece286ecd84477a2bc16593d08af957ab23?branch=pmatilai-v6
Log:
- Pass _find_debuginfo_opts -g to eu-strip for executables
- resolves: #1186563
- add_minidebug is not ran when strip_g is set
- related: #1186563
---
diff --git a/rpm-4.10.0-minidebuginfo.patch b/rpm-4.10.0-minidebuginfo.patch
index 54c0e32..f284fcd 100644
--- a/rpm-4.10.0-minidebuginfo.patch
+++ b/rpm-4.10.0-minidebuginfo.patch
@@ -90,8 +90,8 @@
chmod u-w "$f"
fi
-+ $include_minidebug && add_minidebug "${debugfn}" "$f"
-+
++ # strip -g implies we have full symtab, don't add mini symtab in that case.
++ strip_g || ($include_minidebug && add_minidebug "${debugfn}" "$f")
+
if [ -n "$id" ]; then
make_id_link "$id" "$dn/$(basename $f)"
diff --git a/rpm-4.11.1-sepdebugcrcfix.patch b/rpm-4.11.1-sepdebugcrcfix.patch
index 520198e..29c364e 100644
--- a/rpm-4.11.1-sepdebugcrcfix.patch
+++ b/rpm-4.11.1-sepdebugcrcfix.patch
@@ -26,10 +26,11 @@
debugdir="${RPM_BUILD_ROOT}/usr/lib/debug"
-@@ -316,6 +318,7 @@ while read nlinks inum f; do
-
- $include_minidebug && add_minidebug "${debugfn}" "$f"
+@@ -316,6 +318,8 @@
+ # strip -g implies we have full symtab, don't add mini symtab in that case.
+ strip_g || ($include_minidebug && add_minidebug "${debugfn}" "$f")
++
+ echo "./${f#$RPM_BUILD_ROOT}" >> "$ELFBINSFILE"
if [ -n "$id" ]; then
diff --git a/rpm.spec b/rpm.spec
index 39a075a..5882087 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,7 +27,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}9%{?dist}
+Release: %{?snapver:0.%{snapver}.}11%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.12.x/%{name}-%{srcver}.tar.bz2
@@ -61,6 +61,8 @@ Patch102: rpm-4.12.0-archive-endian.patch
Patch103: 0001-Fix-find-debuginfo.sh-for-ELF-with-file-warnings.patch
# Fix --excludedocs option (#1192625)
Patch104: rpm-4.12.0-exclude-doc.patch
+# Pass _find_debuginfo_opts -g to eu-strip for executables (#1186563)
+Patch105: rpm-4.12.0-eu-strip-g-option.patch
# These are not yet upstream
Patch302: rpm-4.7.1-geode-i686.patch
@@ -545,6 +547,10 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Fri Mar 27 2015 Lubos Kardos <lkardos@redhat.com> 4.12.0-11
+- Pass _find_debuginfo_opts -g to eu-strip for executables (#1186563)
+- add_minidebug is not ran when strip_g is set (#1186563)
+
* Fri Mar 20 2015 Lubos Kardos <lkardos@redhat.com> 4.12.0-10
- Fix "--excludedocs" option (#1192625)
reply other threads:[~2026-11-23 9:29 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=179542616090.1.12270507867744385062.rpms-rpm-fa230ece286e@fedoraproject.org \
--to=lkardos@redhat.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