!860 [sync] PR-847: Fix the bug “ the info command cannot index the glibc help documentation”

From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2024-08-06 11:29:45 +00:00 committed by Gitee
commit c454e85acf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -67,7 +67,7 @@
##############################################################################
Name: glibc
Version: 2.38
Release: 30
Release: 31
Summary: The GNU libc libraries
License: %{all_license}
URL: http://www.gnu.org/software/glibc/
@ -1307,6 +1307,16 @@ if [ -L %{_prefix}/include/scsi ] ; then
rm -f %{_prefix}/include/scsi
fi
%if %{with docs}
%post help
/sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || :
%preun help
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/libc.info.gz %{_infodir}/dir > /dev/null 2>&1 || :
fi
%endif
%pre -n nscd
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
getent passwd nscd >/dev/null ||
@ -1423,6 +1433,10 @@ fi
%endif
%changelog
* Thu Jul 4 2024 lipengyu <lipengyu@kylinos.cn> - 2.38-31
- fix bug “info command cannot index the glibc help documentation“
- add the install-info libc.info.gz step during the glibc-help installation process
* Wed Jun 5 Qingqing Li <liqingqing3@huawei.com> - 2.38-30
- misc: Add support for Linux uio.h RWF_NOAPPEND flag
- Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)