Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-29 06:28:12 +01:00
parent bb1823f86e
commit 597aff75bf

View File

@ -713,15 +713,7 @@ exit 0
#----------------------------------------------------------------------------
%if %{isnative}
%postun
/sbin/ldconfig
if [ -e %{_infodir}/binutils.info.gz ]
then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
fi
%postun -p /sbin/ldconfig
%endif # isnative
#----------------------------------------------------------------------------