Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
0fa50d4998
commit
5a06b01b39
19
mathgl.spec
19
mathgl.spec
@ -517,25 +517,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/mgllab.desktop
|
||||
|
||||
%ldconfig_scriptlets wx
|
||||
|
||||
%post common
|
||||
%if 0%{?with_doc}
|
||||
/sbin/install-info %{_infodir}/%{name}_en.info %{_infodir}/dir || :
|
||||
%endif
|
||||
touch --no-create %{_datadir}/mime ||:
|
||||
|
||||
%postun common
|
||||
if [ $1 -eq 0 ] ; then
|
||||
update-desktop-database -q &> /dev/null
|
||||
touch --no-create %{_datadir}/mime ||:
|
||||
fi
|
||||
|
||||
%preun common
|
||||
%if 0%{?with_doc}
|
||||
if [ $1 = 0 ] ; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}_en.info %{_infodir}/dir || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
%if 0%{?with_octave}
|
||||
%post -n octave-mathgl
|
||||
%octave_cmd pkg rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user