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.
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.
*** This bug has been marked as a duplicate of bug 515997 ***