diff --git a/glibc.spec b/glibc.spec index 9a3665a..e92e815 100644 --- a/glibc.spec +++ b/glibc.spec @@ -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. @@ -1119,8 +1121,8 @@ update_gconv_modules_cache () %{_libdir}/libnss_db.so %{_libdir}/libnss_hesiod.so -%files -n libnsl %ifnarch loongarch64 +%files -n libnsl /lib64/libnsl.so.1 %endif @@ -1133,7 +1135,7 @@ update_gconv_modules_cache () %{_libdir}/libpthread_nonshared.a %changelog -* Mon Oct 23 2023 Peng Fan - 2.36-12 +* 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 @@ -1180,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