diff --git a/glibc.spec b/glibc.spec index ad3e4f4..e92e815 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1,4 +1,4 @@ -%define anolis_release 11 +%define anolis_release 12 %bcond_without testsuite %bcond_without benchtests @@ -224,6 +224,7 @@ This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function. +%ifnarch loongarch64 %package -n libnsl Summary: Legacy support library for NIS Requires: %{name} = %{EVR} @@ -233,6 +234,7 @@ This package provides the legacy version of libnsl library, for accessing NIS services. This library is provided for backwards compatibility only, applications should use libnsl2 instead to gain IPv6 support. +%endif %package devel Summary: Object files for development using standard C libraries. @@ -883,6 +885,10 @@ update_gconv_modules_cache () /lib/ld-linux-aarch64.so.1 %endif +%ifarch loongarch64 +/lib64/ld-linux-loongarch-lp64d.so.1 +%endif + /lib64/libBrokenLocale.so.1 %ifnarch loongarch64 /lib64/libanl.so.1 @@ -984,7 +990,9 @@ update_gconv_modules_cache () %{_prefix}/share/i18n/charmaps/* %files devel +%ifnarch loongarch64 /usr/lib64/libanl.a +%endif /usr/lib64/libc_nonshared.a /usr/lib64/libdl.a /usr/lib64/libg.a @@ -1001,7 +1009,9 @@ update_gconv_modules_cache () /usr/lib64/grcrt1.o /usr/lib64/rcrt1.o /usr/lib64/libBrokenLocale.so +%ifnarch loongarch64 /usr/lib64/libanl.so +%endif /usr/lib64/libc.so /usr/lib64/libm.so /usr/lib64/libresolv.so @@ -1111,8 +1121,10 @@ update_gconv_modules_cache () %{_libdir}/libnss_db.so %{_libdir}/libnss_hesiod.so +%ifnarch loongarch64 %files -n libnsl /lib64/libnsl.so.1 +%endif %if %{with benchtests} %files benchtests @@ -1123,6 +1135,9 @@ update_gconv_modules_cache () %{_libdir}/libpthread_nonshared.a %changelog +* Tue Oct 24 2023 Peng Fan - 2.36-12 +- LoongArch: Not provided libanl, libnsl and libutil by LoongArch. + * Thu Oct 11 2023 Peng Fan - 2.36-11 - LoongArch: Ignore kernel version checks. - Temporarily not pack libanl.so and libutil.so in LoongArch. @@ -1167,4 +1182,4 @@ update_gconv_modules_cache () - RISC-V ABI wants to install everything in /lib64/lp64d or /usr/lib64/lp64d. Make these be symlinks to /lib64 or /usr/lib64 respectively. * Tue Feb 22 2022 Chunmei Xu - 2.35-1 -- upstream 2.35 release tarball and add patches from release/2.35/master +- upstream 2.35 release tarball and add patches from release/2.35/master \ No newline at end of file