[Yum-devel] yum-utils repoquery

Paul Nasrat pnasrat at redhat.com
Thu May 18 23:01:37 UTC 2006


On Thu, 2006-05-18 at 11:38 -0400, Mike Cvet wrote:
> Hey all,
> 
> I'm new to yum development and was looking to implement --buildrequires
> and --whatbuildrequires in repoquery via yum-utils. 
> 
> I've attached a patch for repoquery.py which adds functionality to the
> above options, but am looking for any specific requirements which
> further need to be implemented.

You can't assume you are running on an i386, you need to look at:

import rpmUtils.arch
rpmUtils.arch.getArchList()

Paul




More information about the Yum-devel mailing list