diff --git a/palapeli.spec b/palapeli.spec index 7833811..682a0b3 100644 --- a/palapeli.spec +++ b/palapeli.spec @@ -69,11 +69,11 @@ This package contains the development files for Palapeli. %post /sbin/ldconfig -/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : +%mime_database_post %postun /sbin/ldconfig -/usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : +%mime_database_postun %files %defattr(-,root,root)