diff --git a/glibc.spec b/glibc.spec index 65621d94615e669487eed83f5c93433057a96403..e3b955edd7443b32e6f4911e3a15a737bf1011d9 100644 --- a/glibc.spec +++ b/glibc.spec @@ -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 - 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 - 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)