Lines 51-56
Url: http://www.gnu.org/software/glibc/
Link Here
|
51 |
%define enablekernel 3.10.0 |
51 |
%define enablekernel 3.10.0 |
52 |
%endif |
52 |
%endif |
53 |
|
53 |
|
|
|
54 |
%ifarch loongarch64 |
55 |
%define enablekernel 6.0 |
56 |
%endif |
57 |
|
54 |
# http://git.altlinux.org/gears/g/glibc.git |
58 |
# http://git.altlinux.org/gears/g/glibc.git |
55 |
Source: glibc-%version-%release.tar |
59 |
Source: glibc-%version-%release.tar |
56 |
|
60 |
|
Lines 393-399
mv %buildroot/%_lib/lib{memusage,pcprofile,SegFault}.so \
Link Here
|
393 |
%buildroot%_libdir/ ||: |
397 |
%buildroot%_libdir/ ||: |
394 |
|
398 |
|
395 |
# Relocate libnsl. |
399 |
# Relocate libnsl. |
|
|
400 |
# Some architectures (LoongArch) have no yp/nis legacy |
401 |
%ifnarch loongarch64 |
396 |
mv %buildroot/%_lib/libnsl.so.1 %buildroot%_libdir/ |
402 |
mv %buildroot/%_lib/libnsl.so.1 %buildroot%_libdir/ |
|
|
403 |
%endif |
397 |
|
404 |
|
398 |
# Install upgrade programs. |
405 |
# Install upgrade programs. |
399 |
make -C alt install |
406 |
make -C alt install |
Lines 656-662
fi
Link Here
|
656 |
%files core |
663 |
%files core |
657 |
/%_lib/lib*.so* |
664 |
/%_lib/lib*.so* |
658 |
%exclude /%_lib/lib*thread*.so* |
665 |
%exclude /%_lib/lib*thread*.so* |
|
|
666 |
# gai_ functions have moved to libc.so as of glibc 2.34, and libanl*.so* |
667 |
# exist for compatibility purposes only. LoongArch port has been added |
668 |
# in glibc 2.36, and has no libanl*.so* (new port -> no compatibility |
669 |
# issues yet) |
670 |
%ifnarch loongarch64 |
659 |
%exclude /%_lib/libanl*.so* |
671 |
%exclude /%_lib/libanl*.so* |
|
|
672 |
%endif |
660 |
%exclude /%_lib/librt*.so* |
673 |
%exclude /%_lib/librt*.so* |
661 |
%attr(755,root,root) /%_lib/ld*.so.* |
674 |
%attr(755,root,root) /%_lib/ld*.so.* |
662 |
%ifarch aarch64 |
675 |
%ifarch aarch64 |
Lines 684-698
fi
Link Here
|
684 |
|
697 |
|
685 |
%files pthread |
698 |
%files pthread |
686 |
/%_lib/lib*thread*.so* |
699 |
/%_lib/lib*thread*.so* |
|
|
700 |
%ifnarch loongarch64 |
687 |
/%_lib/libanl*.so* |
701 |
/%_lib/libanl*.so* |
|
|
702 |
%endif |
688 |
/%_lib/librt*.so* |
703 |
/%_lib/librt*.so* |
689 |
|
704 |
|
690 |
%files nss |
705 |
%files nss |
691 |
/%_lib/libnss_*.so* |
706 |
/%_lib/libnss_*.so* |
692 |
%exclude /%_lib/libnss_f* |
707 |
%exclude /%_lib/libnss_f* |
693 |
|
708 |
|
|
|
709 |
%ifnarch loongarch64 |
694 |
%files -n libnsl1 |
710 |
%files -n libnsl1 |
695 |
%_libdir/libnsl.so.1 |
711 |
%_libdir/libnsl.so.1 |
|
|
712 |
%endif |
696 |
|
713 |
|
697 |
%if_with locales |
714 |
%if_with locales |
698 |
%files locales -f libc.lang |
715 |
%files locales -f libc.lang |
699 |
- |
|
|