Re: creating build order from rpm spec files

Alfred Landrum <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <CACC1441.22067%[email protected]>
>
>It looks like this might be a bug, but nobody noticed because nothing
>uses PackageSack directly (things either inherit from it, or use
>ListPackageSack).
I missed ListPackageSack; I'll go look at it, thanks.

>> - is there a straight forward way to create a host-independent yumbase
>> instance?  Since I want to use existing yum repos as part of the
>> dependency check, I'm creating a yum.conf file on the fly that lists the
>> given repos, and disables plugins, etc.  This feels relatively heavy
>> weight.
>
> Not really sure what you mean here ... you can create a yumbase with
>an empty rpmdb (or, even, a "fake" one), and you can tweak the
>arch/releasever/etc. ... but you have to have something.
Right; I do create the instance pointing to some existing repo's, so I
have something to put into the yumbase initially.  I was just checking if
there is a better way to do this than to create a yum.conf configuration
file, on the fly, for each run.  Mock does this, by including a yum.conf
template in its configuration, so I'm assuming not.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.