Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
281df3b846
commit
34cca03626
17
octave.spec
17
octave.spec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user