Red Hat Bugzilla – Bug 55621
%post scriptlet fails with --excludedocs
Last modified: 2007-04-18 12:38:00 EDT
Description of Problem:
When installing grep with --excludedocs the %post scriptlet fails because
the info files are not installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e grep
2. rpm -ivh grep* --excludedocs
The %post scriptlet should use '|| :' to fix this.
Alternatively, perhaps info pages shouldn't be marked as %doc.
The info pages are not marked as %doc. However, rpm decides not to install
them anyway if you use --excludedocs.
(This is fixed in 0.f.3)