Bug 515986 - Errors installing zsh-4.3.9-4.fc11.i586 with --excludedocs
Summary: Errors installing zsh-4.3.9-4.fc11.i586 with --excludedocs
Keywords:
Status: CLOSED DUPLICATE of bug 515997
Alias: None
Product: Fedora
Classification: Fedora
Component: zsh
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: James Antill
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 516757
TreeView+ depends on / blocked
 
Reported: 2009-08-06 11:31 UTC by Alexander Todorov
Modified: 2009-10-26 07:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-26 07:50:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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