diff --git a/glibc.spec b/glibc.spec index 820e3ac..d3babc8 100644 --- a/glibc.spec +++ b/glibc.spec @@ -145,7 +145,7 @@ Version: %{glibcversion} # - It allows using the Release number without the %%dist tag in the dependency # generator to make the generated requires interchangeable between Rawhide # and ELN (.elnYY < .fcXX). -%global baserelease 38 +%global baserelease 39 Release: %{baserelease}%{?dist} # Licenses: @@ -1778,11 +1778,15 @@ ln locale-archive locale-archive.real # each langpack ends up retaining a copy. If we convert these to symbolic # links instead, we save ~350K each when they get installed that way. # -# LC_MEASUREMENT and LC_PAPER also have several duplicates but we don't -# bother with these because they are only ~30 bytes each. +# To simplify testing, do this for LC_NAME and LC_NUMERIC as well, +# although the savings are minimal. (It is not clear what is smaller: +# multiple short symbolic links, or one file hard linked into multiple +# directories.) pushd %{glibc_sysroot}/usr/lib/locale -for f in $(find %locale_rx -samefile C.utf8/LC_CTYPE); do - rm $f && ln -s '../C.utf8/LC_CTYPE' $f +for k in CTYPE NAME NUMERIC; do + for f in $(find %locale_rx -samefile C.utf8/LC_$k); do + rm $f && ln -s ../C.utf8/LC_$k $f + done done popd @@ -2501,6 +2505,9 @@ update_gconv_modules_cache () %endif %changelog +* Tue Jun 17 2025 Florian Weimer - 2.39-39 +- langpacks: Use symlinks for LC_NAME, LC_NUMERIC files if possible (RHEL-97433) + * Fri Apr 18 2025 Frédéric Bérat - 2.39-38 - Update riscv64 handling (thanks David Abdurachmanov) (RHEL-87574)