Red Hat Bugzilla – Bug 118146
missing texinfo BuildPreReq
Last modified: 2007-04-18 13:04:13 EDT
Description of problem:
The .spec file for grub-0.94-3.src.rpm is missing the "texinfo" build
prerequisite. When rebuilding grub from the SRPM file, if "texinfo" is
not installed, the grub.info.gz file is not correctly created.
Instead, a zero-length file is left in its place.
This is caused by the %prep stage invoking "makeinfo" to build the
info file. "makeinfo" belongs to the "texinfo" package, thus the
"texinfo" build prerequisite.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e texinfo
2. rpmbuild --rebuild grub-0.94-3.src.rpm
3. rpm -i <resulting grub-0.94-3.i386.rpm>
The resulting RPM has a zero-bytes grub.info.gz file.
The .spec file for grub doesn't list "texinfo" as a build
prerequisite. During %prep stake, "makeinfo" external program is
called which depends on "texinfo" being installed.
The .spec file for grub should list "texinfo" as a build prerequisite.
Added to CVS, will be in next build.
Fix confirmed for grub-0.95-2