From 5a06b01b3931bf56919f86f47703edba0e9b1f6d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:39:09 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- mathgl.spec | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/mathgl.spec b/mathgl.spec index 2998478..6fe00c2 100644 --- a/mathgl.spec +++ b/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