Fix bug "info command is unable to index the doc info"
(cherry picked from commit 7501d16918c1b5fc9f786d71383a11073930f7e4)
This commit is contained in:
parent
62b7358763
commit
594c82bf24
16
glibc.spec
16
glibc.spec
@ -67,7 +67,7 @@
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: 2.38
|
Version: 2.38
|
||||||
Release: 30
|
Release: 31
|
||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
License: %{all_license}
|
License: %{all_license}
|
||||||
URL: http://www.gnu.org/software/glibc/
|
URL: http://www.gnu.org/software/glibc/
|
||||||
@ -1307,6 +1307,16 @@ if [ -L %{_prefix}/include/scsi ] ; then
|
|||||||
rm -f %{_prefix}/include/scsi
|
rm -f %{_prefix}/include/scsi
|
||||||
fi
|
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
|
%pre -n nscd
|
||||||
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
|
getent group nscd >/dev/null || /usr/sbin/groupadd -g 28 -r nscd
|
||||||
getent passwd nscd >/dev/null ||
|
getent passwd nscd >/dev/null ||
|
||||||
@ -1423,6 +1433,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 5 Qingqing Li <liqingqing3@huawei.com> - 2.38-30
|
||||||
- misc: Add support for Linux uio.h RWF_NOAPPEND flag
|
- misc: Add support for Linux uio.h RWF_NOAPPEND flag
|
||||||
- Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)
|
- Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user