diff --git a/mgetty.spec b/mgetty.spec index 2644fcc..acd80ac 100644 --- a/mgetty.spec +++ b/mgetty.spec @@ -55,8 +55,8 @@ BuildRequires: libX11-devel, libXext-devel, perl-generators, texinfo-tex, texliv # gcc is no longer in buildroot by default BuildRequires: gcc Requires: coreutils, /usr/sbin/sendmail, uucp -Requires(post): /sbin/install-info, systemd -Requires(preun): /sbin/install-info, systemd +Requires(post): systemd +Requires(preun): systemd URL: http://mgetty.greenie.net/ %package sendfax @@ -205,17 +205,6 @@ if [ $1 -eq 1 ]; then systemctl daemon-reload >/dev/null 2>&1 || : fi -if [ -f %{_infodir}/mgetty.inf* ]; then - install-info %{_infodir}/mgetty.info.gz %{_infodir}/dir \ - --entry="* mgetty: (mgetty). Package to handle faxes, voicemail and more." || : -fi - -%preun -if [ -f %{_infodir}/mgetty.inf* ]; then - install-info --delete %{_infodir}/mgetty.info.gz %{_infodir}/dir \ - --entry="* mgetty: (mgetty). Package to handle faxes, voicemail and more." || : -fi - %postun %systemd_postun