diff --git a/quagga.spec b/quagga.spec index 93232c4..77751b1 100644 --- a/quagga.spec +++ b/quagga.spec @@ -24,8 +24,8 @@ BuildRequires: git BuildRequires: c-ares-devel BuildRequires: gcc Requires: net-snmp ncurses c-ares -Requires(post): systemd /sbin/install-info -Requires(preun): systemd /sbin/install-info +Requires(post): systemd +Requires(preun): systemd Requires(postun): systemd Provides: routingdaemon = %{version}-%{release} Obsoletes: quagga-sysvinit @@ -143,11 +143,6 @@ usermod -a -G %vty_group quagga %systemd_post ospf6d.service %systemd_post ripngd.service -ls %{_infodir}/%{name}.inf* > /dev/null 2>&1 -if [ $? -eq 0 ]; then - install-info %{_infodir}/quagga.info %{_infodir}/dir || : -fi - # Create dummy files if they don't exist so basic functions can be used. if [ ! -e %{_sysconfdir}/quagga/zebra.conf ]; then echo "hostname `hostname`" > %{_sysconfdir}/quagga/zebra.conf @@ -170,11 +165,6 @@ fi %systemd_postun_with_restart ospf6d.service %systemd_postun_with_restart ripngd.service -ls %{_infodir}/%{name}.inf* > /dev/null 2>&1 -if [ $? -eq 0 ]; then - install-info --delete %{_infodir}/quagga.info %{_infodir}/dir || : -fi - %preun %systemd_preun zebra.service %systemd_preun isisd.service