Red Hat Bugzilla – Bug 192188
Missing BuildPrereq on libselinux-devel
Last modified: 2007-11-30 17:07:25 EST
Description of problem:
The .spec file for libuser misses BuildPrereq: linselinux-devel.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -e libselinux-devel
2. rpmbuild --rebuild libuser-0.52.5-1.el4.1.src.rpm
3. echo $?
Build failure if libselinux-devel is not installed.
rpmbuild shouldn't allow building of libuser if libselinux-devel is not installed.
This is already fixed in Fedora Core since FC 4 and will therefore be fixed in
RHEL 5. I have also commited the fix for RHEL 4, to be included with an libuser
erratum, if there will be one for other reasons.
Thanks for your report.