Mock question

seth vidal skvidal at fedoraproject.org
Tue Nov 9 14:05:50 UTC 2010


On Tue, 2010-11-09 at 13:48 +0100, Rasmus Ory Nielsen wrote:
> Hi,
> 
> Den 09-11-2010 13:37, Brendan Jones skrev:
> >
> > On 11/09/2010 10:33 PM, Rasmus Ory Nielsen wrote:
> >> Hi,
> >>
> >> Given a SRPM file and a mock config file, how do I get a list of all missing
> >> buildrequires for this SRPM?
> >>
> >> Is it possible using the command line tools, or do I need to use the python
> >> api? I looked at the yum/mock api and it seemed a bit overwhelming.
> >>
> > Hi
> >
> > you could use yum-builddep
> 
> Thanks for your reply.
> 
> Unfortunately yum-builddep doesn't work for me. I need to be able to change 
> $releasever and enabled repositories (hence the mock config file). Is that 
> possible with yum-builddep?

yum-builddep --releasever --disablerepo='*' --enablerepo=myrepo1
--enablerepo=myrepo2 pkg

-sv




More information about the devel mailing list