Description of problem:
/usr/lib/rpm/find-debuginfo.sh (from rpm-build package) uses eu-strip
(belongs to elfutils package), thus rpm-build should Requires: elfutils
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpm -i rpm-build-4.2.1-0.30.1.i386.rpm
2.rpm -e elfutils
3.rpmbuild --rebuild <some_package>.src.rpm
4.Wait for build errors
rpn-build has Requires: libelf.so.1 contained in
the elfutils packages already.
libelf.so.1 belongs to elfutils-libelf, but
eu-strip belongs to elfutils. This is the OTHER package.
elfutils-libelf doesn't depend on elfutils too.
Thus rpm-build should Requires: elfutils
Please, try to reproduce it.
eu-strip is mentioned only in find-debuginfo.sh, used to
produce -debuginfo packages, which is not enabled by default.
Hence no dependency.
FWIW, I've opened bug #132633 in which I ask to have elfutils added as
a dependency to redhat-rpm-config, since that is the package
responsible for the debuginfo stuff and all. Seems like the right
solution to me.