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: - Forgot to add patch into git in previous commit.
Date: Mon, 23 Nov 2026 09:29:21 GMT	[thread overview]
Message-ID: <179542616174.1.14691870461864631991.rpms-rpm-9fa2c4edfb3e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 9fa2c4edfb3e3aa04848d1d6826f748897d6a3ad
Author : Lubos Kardos <lkardos@redhat.com>
Date   : 2015-03-27T16:32:14+01:00
Stats  : +43/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/9fa2c4edfb3e3aa04848d1d6826f748897d6a3ad?branch=pmatilai-v6

Log:
- Forgot to add patch into git in previous commit.

---
diff --git a/rpm-4.12.0-eu-strip-g-option.patch b/rpm-4.12.0-eu-strip-g-option.patch
new file mode 100644
index 0000000..0e16927
--- /dev/null
+++ b/rpm-4.12.0-eu-strip-g-option.patch
@@ -0,0 +1,43 @@
+From 0f051ab3b5b7a5342029e49b9a72ec7499a3d6ad Mon Sep 17 00:00:00 2001
+From: Lubos Kardos <lkardos@redhat.com>
+Date: Fri, 27 Mar 2015 15:45:57 +0100
+Subject: [PATCH] Pass _find_debuginfo_opts -g to eu-strip for executables
+ (rhbz:#1186563)
+
+---
+ scripts/find-debuginfo.sh | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
+index 264fad5..17522e0 100644
+--- a/scripts/find-debuginfo.sh
++++ b/scripts/find-debuginfo.sh
+@@ -7,7 +7,7 @@
+ #			   [[-l filelist]... [-p 'pattern'] -o debuginfo.list]
+ #			   [builddir]
+ #
+-# The -g flag says to use strip -g instead of full strip on DSOs.
++# The -g flag says to use strip -g instead of full strip on DSOs or EXEs.
+ # The --strict-build-id flag says to exit with failure status if
+ # any ELF binary processed fails to contain a build-id note.
+ # The -r flag says to use eu-strip --reloc-debug-sections.
+@@ -23,7 +23,7 @@
+ # All file names in switches are relative to builddir (. if not given).
+ #
+ 
+-# With -g arg, pass it to strip on libraries.
++# With -g arg, pass it to strip on libraries or executables.
+ strip_g=false
+ 
+ # with -r arg, pass --reloc-debug-sections to eu-strip.
+@@ -100,6 +100,7 @@ strip_to_debug()
+   $strip_r && r=--reloc-debug-sections
+   $strip_g && case "$(file -bi "$2")" in
+   application/x-sharedlib*) g=-g ;;
++  application/x-executable*) g=-g ;;
+   esac
+   eu-strip --remove-comment $r $g -f "$1" "$2" || exit
+   chmod 444 "$1" || exit
+-- 
+1.9.3
+

                 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=179542616174.1.14691870461864631991.rpms-rpm-9fa2c4edfb3e@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