diff --git a/glibc.spec b/glibc.spec index 8c045b8..ad3e4f4 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1,4 +1,4 @@ -%define anolis_release 10 +%define anolis_release 11 %bcond_without testsuite %bcond_without benchtests @@ -434,6 +434,11 @@ find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \; touch `find . -name configure` touch locale/programs/*-kw.h +# Ignore kernel version check errors. +%ifarch loongarch64 +sed -i "s@5.19.0@4.15.0@g" sysdeps/unix/sysv/linux/loongarch/configure{,.ac} +%endif + %build uname -a LD_SHOW_AUXV=1 /bin/true @@ -879,7 +884,10 @@ update_gconv_modules_cache () %endif /lib64/libBrokenLocale.so.1 +%ifnarch loongarch64 /lib64/libanl.so.1 +/lib64/libutil.so.1 +%endif /lib64/libc.so.6 /lib64/libc_malloc_debug.so.0 /lib64/libdl.so.2 @@ -888,7 +896,6 @@ update_gconv_modules_cache () /lib64/libresolv.so.2 /lib64/librt.so.1 /lib64/libthread_db.so.1 -/lib64/libutil.so.1 /lib64/libnss_compat.so.2 /lib64/libnss_files.so.2 /lib64/libnss_dns.so.2 @@ -1116,6 +1123,10 @@ update_gconv_modules_cache () %{_libdir}/libpthread_nonshared.a %changelog +* Thu Oct 11 2023 Peng Fan - 2.36-11 +- LoongArch: Ignore kernel version checks. +- Temporarily not pack libanl.so and libutil.so in LoongArch. + * Wed Oct 04 2023 Funda Wang - 2.36-10 - fix CVE-2023-4527, CVE-2023-4806, CVE-2023-5156, CVE-2023-4911