public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - Pass _find_debuginfo_opts -g to eu-strip for executables
@ 2026-11-23 9:29 Lubos Kardos
0 siblings, 0 replies; only message in thread
From: Lubos Kardos @ 2026-11-23 9:29 UTC (permalink / raw)
To: git-commits
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:29 [rpms/rpm] pmatilai-v6: - Pass _find_debuginfo_opts -g to eu-strip for executables Lubos Kardos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox