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
This commit is contained in:
DJ Delorie 2026-07-29 13:35:13 -04:00
parent 107c909712
commit 92cd2bbb68

View File

@ -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