public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - updated find-debuginfo from Roland
@ 2026-11-23 9:24 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 15931be6ed297f6b107e73a969fd256778dc9b2e
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2007-08-14T07:44:23+00:00
Stats : +7/-10 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/15931be6ed297f6b107e73a969fd256778dc9b2e?branch=pmatilai-v6
Log:
- updated find-debuginfo from Roland
---
diff --git a/find-debuginfo.sh b/find-debuginfo.sh
index 63d195c..73e5417 100755
--- a/find-debuginfo.sh
+++ b/find-debuginfo.sh
@@ -93,7 +93,7 @@ strip_to_debug()
$strip_g && case "$(file -bi "$2")" in
application/x-sharedlib,*) g=-g ;;
esac
- eu-strip --remove-comment -f "$1" "$2" || exit
+ eu-strip --remove-comment $g -f "$1" "$2" || exit
}
# Make a relative symlink to $1 called $3$2
@@ -254,13 +254,10 @@ if [ -s "$SOURCEFILE" ]; then
fi
if [ -d ${RPM_BUILD_ROOT}/usr/lib -o -d ${RPM_BUILD_ROOT}/usr/src ]; then
- gendirs=src
- ((nout > 0)) || gendirs='lib src'
- for d in $gendirs; do
- test ! -d ${RPM_BUILD_ROOT}/usr/$d ||
- (cd ${RPM_BUILD_ROOT}/usr/$d; find debug -type d) |
- sed "s,^,%dir /usr/$d/," >> $LISTFILE
- done
+ ((nout > 0)) ||
+ test ! -d ${RPM_BUILD_ROOT}/usr/lib ||
+ (cd ${RPM_BUILD_ROOT}/usr/lib; find debug -type d) |
+ sed 's,^,%dir /usr/lib/,' >> $LISTFILE
(cd ${RPM_BUILD_ROOT}/usr
test ! -d lib/debug || find lib/debug ! -type d
@@ -324,7 +321,7 @@ while ((i < nout)); do
done
if ((nout > 0)); then
# Now add the right %dir lines to each output list.
- (cd ${RPM_BUILD_ROOT}; find usr/{lib,src}/debug -type d) |
+ (cd ${RPM_BUILD_ROOT}; find usr/lib/debug -type d) |
sed 's#^.*$#\\@^/&/@{h;s@^.*$@%dir /&@p;g;}#' |
LC_ALL=C sort -ur > ${LISTFILE}.dirs.sed
i=0
diff --git a/rpm.spec b/rpm.spec
index ef2443b..14d4040 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -474,7 +474,7 @@ exit 0
%changelog
* Mon Aug 13 2007 Panu Matilainen <pmatilai@redhat.com> - 4.4.2.1-7
-- another debugedit fix from Roland McGrath
+- another debugedit fix and updated find-debuginfo script from Roland McGrath
- make popt provide popt-devel to further ease split-off transition
- skip ESTALE and EACCESS on mountpoints from Jeff Johnson (#190496, #220991)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:24 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:24 [rpms/rpm] pmatilai-v6: - updated find-debuginfo from Roland Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox