Bug 180899 - shared-mime-info: +Requires: desktop-file-utils
Summary: shared-mime-info: +Requires: desktop-file-utils
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: shared-mime-info
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-10 12:50 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-07-24 20:55:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.