Overwrite target for x86_64_v2

Add /usr/lib64/lp64d to ricv64
This commit is contained in:
Eduard Abdullin 2025-06-18 01:33:07 +00:00 committed by root
commit ffaf184ca8

View File

@ -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}.alma.1
# Licenses:
@ -1781,11 +1781,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
@ -2507,10 +2511,13 @@ update_gconv_modules_cache ()
%endif
%changelog
* Wed May 07 2025 Eduard Abdullin <eabdullin@almalinux.org> - 2.39-38.alma.1
* Wed Jun 18 2025 Eduard Abdullin <eabdullin@almalinux.org> - 2.39-39.alma.1
- Overwrite target for x86_64_v2
- Add /usr/lib64/lp64d to ricv64
* Tue Jun 17 2025 Florian Weimer <fweimer@redhat.com> - 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 <fberat@redhat.com> - 2.39-38
- Update riscv64 handling (thanks David Abdurachmanov) (RHEL-87574)