From fb2e6d98ffc38af8933aa72e58e622c070ed3240 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 29 Jan 2019 06:04:51 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- gnome-commander.spec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gnome-commander.spec b/gnome-commander.spec index e82a69e..83fa24f 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -232,21 +232,6 @@ desktop-file-install \ %find_lang %{name} -%post -touch --no-create %{_datadir}/%{name}/mime/packages &> /dev/null -exit 0 - -%postun -[ $1 -eq 0 ] || exit 0 -touch --no-create %{_datadir}/%{name}/mime/packages &> /dev/null -update-mime-database %{?fedora:-n} %{_datadir}/%{name}/mime &> /dev/null -exit 0 - -%posttrans -update-mime-database %{?fedora:-n} %{_datadir}/%{name}/mime &> /dev/null -exit 0 - - %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS