From 34cca03626a94dbcadf22e4715d62261545a3135 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:39:37 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- octave.spec | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/octave.spec b/octave.spec index 4d45dd8..72283bb 100644 --- a/octave.spec +++ b/octave.spec @@ -387,22 +387,7 @@ sleep 2 export DISPLAY=:99 make check -%post -%{?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 - +%ldconfig_scriptlets %files %license COPYING