%info_requires \
Requires(post): %{_sbindir}/install-info.exe \
Requires(preun): %{_sbindir}/install-info.exe

%info_post() \
if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
  %{_sbindir}/install-info.exe %{_infodir}/%1 %{_infodir}/dir || : \
fi

%info_preun() \
if [ $1 = 0 ]; then \
  if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
    %{_sbindir}/install-info.exe --delete %{_infodir}/%1 %{_infodir}/dir || : \
  fi \
fi
