[Yum-devel] RFC: yum-builddep patch to use specfiles instead of srpm buildrequires for depresolution

Phil Knirsch pknirsch at redhat.com
Fri May 3 15:46:05 UTC 2013


Hi folks.

I've "hacked" together a small patch the last few days to basically 
convert yum-builddep to always use specfiles for build dep resolution.

It does so by extracting the specfile from srpms to a temporary file and 
uses that then to generate the build dependencies.

The advantage here is obviously that this way yum-builddep would become 
arch agnostic and the year old problem of srpms actually being binary 
rpms would be solved.

Currently this is still an early "work in progress" patch and definitely 
needs quite a bit more cleanup, but if the approach looks sounds let me 
know and i'll finish up the patch.

Thanks & regards, Phil

-- 
Philipp Knirsch              | Tel.:  +49-711-96437-470
Manager Core Services        | Fax.:  +49-711-96437-111
Red Hat GmbH                 | Email: Phil Knirsch <pknirsch at redhat.com>
Wankelstrasse 5              | Web:   http://www.redhat.com/
D-70563 Stuttgart, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-builddep-onlyspecfile.patch
Type: text/x-patch
Size: 5990 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20130503/43b38298/attachment.bin>


More information about the Yum-devel mailing list