Description of problem: yum should provide an option to install build dependencies of a source rpm. apt provides a similar option apt-get build-dep <package name>. Currently it is a pain to manually resolve each dependency (that was the whole point of yum - not to have you resolve the dependencies, right?). Additional info: feature request
yum install yum-utils yum-builddep pkg1 pkg2 pkg3
so I'm going to say that there's something missing here. So using apt you can install the build dependencies for any package on the system. For example, one could do an apt-get build-dep libgcc and it will look up the source package for libgcc and pull the build dependencies for that source package. Currently on fedora12 this is what happens. # yum-builddep libgcc Enabling fedora-source repository Enabling updates-source repository No such package(s): libgcc.src # So currently what I'd have to do is lookup the src.rpm as follows: yum-builddep `rpm -q --qf '%{SOURCERPM}' libgcc | awk '#MORE AWK SCRIPTING'` This could be a lot cleaner and yum-builddep could be doing this for us.
Looks like yum-builddep could work a little smarter in the case where a package is build from a srpm with another name (libgcc != gcc). I have made some changes to yum-builddep upstream to work around this issue. http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=1bec4743be0d98c711ff5d5a4bb925b391a2b4be
yum-utils-1.1.25-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-utils-1.1.25-1.fc12
yum-utils-1.1.25-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
I'm unsure how complicated it would be to back port this to RHEL5. I'm thinking yum may need an update in RHEL5 to make this work there. What are the chances this will get back ported to RHEL?
Take it up with your TAM or file an RFE for rhel5. But It will never get noticed on this bug.
To expand ... there's a roughly 0% chance of this getting fixed in RHEL-5 at this point without a RHEL specific bug that is tied to customer.