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