From 7880ef80b4405d0a5c23374f74cb74d3483e91a8 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 7 Jul 2021 14:47:47 -0400 Subject: [PATCH] Remove unneeded info scriptlets These are handled by file triggers now --- frr.spec | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/frr.spec b/frr.spec index 716d247..b381689 100644 --- a/frr.spec +++ b/frr.spec @@ -54,11 +54,9 @@ BuildRequires: texinfo Requires: ncurses Requires: net-snmp -Requires(post): /sbin/install-info Requires(post): hostname Requires(post): systemd Requires(postun): systemd -Requires(preun): /sbin/install-info Requires(preun): systemd Conflicts: quagga Provides: routingdaemon = %{version}-%{release} @@ -149,10 +147,6 @@ usermod -aG frrvty frr %post %systemd_post frr.service -if [ -f %{_infodir}/%{name}.inf* ]; then - install-info %{_infodir}/frr.info %{_infodir}/dir || : -fi - # Create dummy files if they don't exist so basic functions can be used. if [ ! -e %{_sysconfdir}/frr/frr.conf ]; then echo "hostname `hostname`" > %{_sysconfdir}/frr/frr.conf @@ -173,13 +167,6 @@ fi %preun %systemd_preun frr.service -#only when removing frr -if [ $1 -eq 0 ]; then - if [ -f %{_infodir}/%{name}.inf* ]; then - install-info --delete %{_infodir}/frr.info %{_infodir}/dir || : - fi -fi - %check %make_build check PYTHON=%{__python3} @@ -217,6 +204,7 @@ fi %changelog * Wed Jul 07 2021 Neal Gompa - 7.5.1-5 - Clean up the spec file for legibility and modern spec standards +- Remove unneeded info scriptlets * Wed Jul 07 2021 Michal Ruprich - 7.5.1-4 - Rebuild for newer abseil-cpp