Bug 219402 - mew: non-failsafe install-info usage
Summary: mew: non-failsafe install-info usage
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mew
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-12 22:23 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-12-19 09:33:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2006-12-12 22:23:23 UTC
mew's install-info invocations are not failsafe against excludedocs or
read-only-netsharedpath-/usr/share installations; appending "|| :" to the
invocations in %post and %preun would fix it.

Additionally, the (Pre)Requires(foo,bar) syntax is known to be broken in many
versions of rpm, and in this case, the /sbin/install-info erase time dependency
should be preun, not postun.  So "Prereq(post,postun): /sbin/install-info"
should be split to two and replaced by "Requires(post): /sbin/install-info" and
"Requires(postun): /sbin/install-info".

More info: http://fedoraproject.org/wiki/Packaging/ScriptletSnippets

Comment 1 Akira TAGOH 2006-12-19 09:33:55 UTC
fixed in 5.1-3.


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