Red Hat Bugzilla – Bug 181775
spec file correction so that rpmbuild works as expected on RHEL systems
Last modified: 2007-11-30 17:11:24 EST
Description of problem: The buildrequires for lam in spec file seems to be
incorrect. The build should fail for RHEL3/4 but it does not.
The package lam has a epoch 2 which is the reason the buildrequires test fails.
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1. download blacs*.src.rpm on a RHEL3/4 machine
2. try to do a rpmbuild
rpmbuild does not fail even though the version of lam on these systems is less
# rpm -q lam
rpmbuild should fail with:
[root@localhost SPECS]# rpmbuild -bp blacs.spec
error: Failed build dependencies:
lam >= 2:7.1.1-5 is needed by blacs-1.1-18.i386
forgot to mention, the buildrequires should include epoch
lam >= 2:7.1.1-5
Resolved in blacs 1.1-20.