Bug 515986

Summary: Errors installing zsh-4.3.9-4.fc11.i586 with --excludedocs
Product: [Fedora] Fedora Reporter: Alexander Todorov <atodorov>
Component: zshAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: hdong, james.antill
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: 2009-10-26 07:50:25 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:
Bug Depends On:    
Bug Blocks: 516757    

Description Alexander Todorov 2009-08-06 11:31:28 UTC
Description of problem:
When installing with --excludedocs there are errors caused by missing files.

Version:
zsh-4.3.9-4.fc11.i586

How reproducible:
Always

Steps to reproduce:
1) rpm -ihv --excludedocs zsh-4.3.9-4.fc11.i586  

or:
- use %packages --excludedocs in kickstart
- enable %_excludedocs macro in RPM

Expected results:
Package is installed without errors

Actual results:
Error(s): Installing zsh-4.3.9-4.fc11.i586
install-info: No such file or directory for /usr/share/info/zsh.info.gz

Additional info:
This bug is automatically filed with python-bugzilla and component assignment may be incorrect.

Comment 1 James Antill 2009-08-07 15:44:14 UTC
 Ok ... I added a:

if [ -f %{_infodir}/zsh.info.gz ]; then
    # This is needed so that --excludedocs works.

...around the install-info commands for %post and %preun.

Comment 2 dongjibing 2009-10-26 07:50:25 UTC

*** This bug has been marked as a duplicate of bug 515997 ***