From 92cd2bbb684588d562a37ffea13a37cccebe428a Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 29 Jul 2026 13:35:13 -0400 Subject: [PATCH] Stop shipping glibc32-debuginfo (RHEL-219516) By stripping the symbol table from the glibc32 shared objects, we disable the creation of debuginfo packages, which we do not need nor want to ship. Resolves: RHEL-219516 --- glibc.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/glibc.spec b/glibc.spec index 509fa59..c7c189a 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1902,6 +1902,15 @@ rm -rf etc var usr/bin usr/lib/gconv usr/libexec usr/sbin usr/share rm -f lib/libnss_db* lib/libnss_hesiod* lib/libnsl* usr/lib/libnsl* usr/lib/libnss* rm usr/lib/libc_malloc_debug.so strip -g usr/lib/*.o +for f in usr/lib/*.so; do + case "$f" in + # libc.so is a text file, not an object + usr/lib/libc.so ) ;; + * ) strip $f ;; + esac +done +strip usr/lib/*.so.? +strip usr/lib/audit/*.so popd %endif