Move libc_malloc_debug.so.0 from glibc to glibc-utils
libc_malloc_debug is a debugging library and therefore should not be installed by default. Since it is needed in order to enable mtrace functionality, it belongs in glibc-utils along with the mtrace log interpreter.
This commit is contained in:
parent
05c725ac55
commit
2d5af83031
12
glibc.spec
12
glibc.spec
@ -170,7 +170,7 @@ Version: %{glibcversion}
|
|||||||
# - It allows using the Release number without the %%dist tag in the dependency
|
# - It allows using the Release number without the %%dist tag in the dependency
|
||||||
# generator to make the generated requires interchangeable between Rawhide
|
# generator to make the generated requires interchangeable between Rawhide
|
||||||
# and ELN (.elnYY < .fcXX).
|
# and ELN (.elnYY < .fcXX).
|
||||||
%global baserelease 18
|
%global baserelease 19
|
||||||
Release: %{baserelease}%{?dist}
|
Release: %{baserelease}%{?dist}
|
||||||
|
|
||||||
# Licenses:
|
# Licenses:
|
||||||
@ -1881,6 +1881,7 @@ chmod 0444 master.filelist
|
|||||||
# a double negation of -v and [^i] so it removes all files in
|
# a double negation of -v and [^i] so it removes all files in
|
||||||
# sbin *but* iconvconfig.
|
# sbin *but* iconvconfig.
|
||||||
# - All the libnss files (we add back the ones we want later).
|
# - All the libnss files (we add back the ones we want later).
|
||||||
|
# - libc_malloc_debug.so, since it is a debugging library.
|
||||||
# - All bench test binaries.
|
# - All bench test binaries.
|
||||||
# - The aux-cache, since it's handled specially in the files section.
|
# - The aux-cache, since it's handled specially in the files section.
|
||||||
# - Extra gconv modules. We add the required modules later.
|
# - Extra gconv modules. We add the required modules later.
|
||||||
@ -1901,6 +1902,7 @@ cat master.filelist \
|
|||||||
-e '/var/db/Makefile' \
|
-e '/var/db/Makefile' \
|
||||||
-e '/libnss_.*\.so[0-9.]*$' \
|
-e '/libnss_.*\.so[0-9.]*$' \
|
||||||
-e '/libnsl' \
|
-e '/libnsl' \
|
||||||
|
-e 'libc_malloc_debug\.so' \
|
||||||
-e 'glibc-benchtests' \
|
-e 'glibc-benchtests' \
|
||||||
-e 'aux-cache' \
|
-e 'aux-cache' \
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -1980,6 +1982,7 @@ grep '%{_libdir}/lib.*\.a' master.filelist \
|
|||||||
# devel package.
|
# devel package.
|
||||||
grep '%{_libdir}/.*\.o' < master.filelist >> devel.filelist
|
grep '%{_libdir}/.*\.o' < master.filelist >> devel.filelist
|
||||||
grep '%{_libdir}/lib.*\.so' < master.filelist >> devel.filelist
|
grep '%{_libdir}/lib.*\.so' < master.filelist >> devel.filelist
|
||||||
|
|
||||||
# The exceptions are:
|
# The exceptions are:
|
||||||
# - libmemusage.so and libpcprofile.so in glibc used by utils.
|
# - libmemusage.so and libpcprofile.so in glibc used by utils.
|
||||||
# - libnss_*.so which are in nss-devel.
|
# - libnss_*.so which are in nss-devel.
|
||||||
@ -2099,6 +2102,10 @@ cat > utils.filelist <<EOF
|
|||||||
%{_prefix}/bin/xtrace
|
%{_prefix}/bin/xtrace
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# libc_malloc_debug needs to be preloaded in order to enable mtrace, so we
|
||||||
|
# include it in the same subpackage.
|
||||||
|
grep '%{_lib}/libc_malloc_debug\.so' < master.filelist >> utils.filelist
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# nss_db, nss_hesiod
|
# nss_db, nss_hesiod
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -2525,6 +2532,9 @@ update_gconv_modules_cache ()
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 14 2024 Arjun Shankar <arjun@redhat.com> - 2.39.9000-19
|
||||||
|
- Move libc_malloc_debug.so.0 from glibc to glibc-utils
|
||||||
|
|
||||||
* Mon May 06 2024 DJ Delorie <dj@redhat.com> - 2.39.9000-18
|
* Mon May 06 2024 DJ Delorie <dj@redhat.com> - 2.39.9000-18
|
||||||
- Auto-sync with upstream branch master,
|
- Auto-sync with upstream branch master,
|
||||||
commit 5f245f3bfbe61b2182964dafb94907e38284b806.
|
commit 5f245f3bfbe61b2182964dafb94907e38284b806.
|
||||||
|
Loading…
Reference in New Issue
Block a user