Includes %post %{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null But is missing Requires(post): desktop-file-utils
Nevermind... update-mime-database comes from *this* package (shared-mime-info), not desktop-file-utils.
OK, brainfart at first attempt, let's try again. Per http://fedoraproject.org/wiki/ScriptletSnippets#head-d37d740d062d3aa6013aab44a79de88a6c1fe533 and discussions on the FE mailing list (I can dig up references if you want), it was agreed that it is wrong/wasteful that *every* rpm that includes application .desktop files with MimeType= entries must include Requires(post): desktop-file-utils Requires(postun): desktop-file-utils Instead, it was proposed that some core bit of any desktop that supports the use of shared-mime-info (like Gnome) should itself include Requires: desktop-file-utils Now, I'm not sure if adding the Requires to shared-mime-info is the best place for it, but it should be somewhere.
redhat-menus nowadays depends on it, maybe that's enough?
Ville, yeah, it's a round-about way to get to the same result...
I'm content with the Req being redhat-menus, so let's close this out (and I'll update the wiki to drop the extraneous Requires bits)