diff --git a/kpat.spec b/kpat.spec index 0da76d2..b678745 100644 --- a/kpat.spec +++ b/kpat.spec @@ -79,10 +79,10 @@ more. The game has nice graphics and many different carddecks. %suse_update_desktop_file -r org.kde.kpat Game CardGame %post -%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : +%mime_database_post %postun -%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : +%mime_database_postun %files %defattr(-,root,root)