Bug 180899

Summary: shared-mime-info: +Requires: desktop-file-utils
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: shared-mime-infoAssignee: Christopher Aillon <caillon>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: scop
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-24 20:55:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rex Dieter 2006-02-10 12:50:51 UTC
Includes
%post 
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null

But is missing
Requires(post): desktop-file-utils

Comment 1 Rex Dieter 2006-02-10 17:19:52 UTC
Nevermind... update-mime-database comes from *this* package (shared-mime-info),
not desktop-file-utils.

Comment 2 Rex Dieter 2006-03-30 15:16:05 UTC
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.

Comment 3 Ville Skyttä 2006-04-08 09:48:27 UTC
redhat-menus nowadays depends on it, maybe that's enough?

Comment 4 Rex Dieter 2006-04-09 17:10:40 UTC
Ville, yeah, it's a round-about way to get to the same result...

Comment 5 Rex Dieter 2006-07-24 20:55:10 UTC
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)