Red Hat Bugzilla – Bug 456836
systemtap-0.6.2-1.el5.src.rpm won't build
Last modified: 2016-09-19 22:04:16 EDT
Description of problem:
Rebuilding the SRPM fails
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpmbuild --rebuild systemtap-0.6.2-1.el5.src.rpm
2. Watch build fail
systemtap-0.6.2-1.el5.src.rpm has a dependency on elfutils-devel-0.131 - but EL5
only has elfutils at version 0.125-3.el5 - there's no way this can build.
Try again with
rpmbuild --define='dist .el5' --define='rhel 5' ...
Yep - that works (well, I set up the defines in rpmmacros...)
Well spotted :-)
Thanks for verifying.
Future versions will not behave this way.