[Yum] Install .src.rpm packages with yum

Ian Burrell ian at znark.com
Sat Dec 13 06:03:04 UTC 2003

seth vidal wrote:
> the problem is this:
> I can download a single srpm, sure.
> but I can't reasonably and positively get all of its dependencies b/c
> we're not able to do specfile parsing. at least not simply.
> so, yah, it's not too hard. if you'd like to do it, you could, and
> probably should, do it outside of the main yum script.
> look at yum-arch -s
> the outputs of that and then look at how to parse the requires and
> provides for an srpm

I am pretty sure that the build dependencies are included in the header 
of the .src.rpm.  "rpm -qR" works on .src.rpm files.  This implies that 
the dependencies are stored in the same tags as with binary rpms.

  - Ian

ian at znark.com

More information about the Yum mailing list