SPECS: update spec file
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
This commit is contained in:
parent
faab9dd8a4
commit
2f797f64c6
1 changed files with 14 additions and 1 deletions
15
glibc.spec
15
glibc.spec
|
@ -1,4 +1,4 @@
|
|||
%define anolis_release 11
|
||||
%define anolis_release 12
|
||||
|
||||
%bcond_without testsuite
|
||||
%bcond_without benchtests
|
||||
|
@ -883,6 +883,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 +988,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 +1007,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
|
||||
|
@ -1112,7 +1120,9 @@ update_gconv_modules_cache ()
|
|||
%{_libdir}/libnss_hesiod.so
|
||||
|
||||
%files -n libnsl
|
||||
%ifnarch loongarch64
|
||||
/lib64/libnsl.so.1
|
||||
%endif
|
||||
|
||||
%if %{with benchtests}
|
||||
%files benchtests
|
||||
|
@ -1123,6 +1133,9 @@ update_gconv_modules_cache ()
|
|||
%{_libdir}/libpthread_nonshared.a
|
||||
|
||||
%changelog
|
||||
* Mon Oct 23 2023 Peng Fan <fanpeng@loongson.cn> - 2.36-12
|
||||
- LoongArch: Not provided libanl, libnsl and libutil by LoongArch.
|
||||
|
||||
* Thu Oct 11 2023 Peng Fan <fanpeng@loongson.cn> - 2.36-11
|
||||
- LoongArch: Ignore kernel version checks.
|
||||
- Temporarily not pack libanl.so and libutil.so in LoongArch.
|
||||
|
|
Loading…
Add table
Reference in a new issue