rpm-4.2.2 (both rpm-4.4.2-15.2 from fc5 and rpm-4.4.2-24 from development) uses function gelf_offscn from elfutils-libs. The function has appeared in elfutils-0.112, as NEWS from elfutils tarball says. Thus, rpm.spec should be fixed like this: -BuildRequires: elfutils-libelf -BuildRequires: elfutils-devel +BuildRequires: elfutils-devel >= 0.112 Note that I have removed elfutils-libelf requirement since elfutils-devel requires elfutils-libelf-devel which in turn requires elfutils-libelf, so this line is redundant.
Hmm sorry I'm not sure I am right here...let me recheck it again.
OK I found out that the above is true only for development version, i.e. 4.2.2-24. Version and Summary fields changed accordingly.
And this is due to rpm-4.4.2-devel-autodep.patch
Should be done in rawhide.