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