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-27 19:39:37 +01:00
parent 281df3b846
commit 34cca03626
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -387,22 +387,7 @@ sleep 2
export DISPLAY=:99 export DISPLAY=:99
make check make check
%post %ldconfig_scriptlets
%{?ldconfig}
%if %{builddocs}
/sbin/install-info --info-dir=%{_infodir} --section="Programming" \
%{_infodir}/octave.info || :
%endif
%preun
%if %{builddocs}
if [ "$1" = "0" ]; then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/octave.info || :
fi
%endif
%ldconfig_postun
%files %files
%license COPYING %license COPYING