[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: No python in koji



On Fri, 17 Aug 2007 22:46:43 +0200
Axel Thimm <Axel Thimm ATrpms net> wrote:

> No, what I use in my ancient-dumber-than-kiss chroot builder is to
> extract the BRs, install them and then kickstart any rpmbuild
> machinery.

How do you extract the BRs?  Are you doing it on the host machine,
which could have an ancient rpm, or ancient tools that are needed for
macro expansion?  Do you have an Everything install on it, or at least
every piece of software you could expect to run across in a macro?
What about new languages that aren't built for the machine you're doing
the BR extraction from?

> 
> > (although isn't it fun that BuildRequires /are/ Requires in the
> > source rpm?)  
> 
> and you get the fact that these "Requires" are already macro expanded
> so no chicken/egg situation here even if the BRs had had been
> macroized.
> 
> So koji could do the following pseudo-code and avoid all troubles:
> 
> rpm -qRp foo-1-2.src.rpm | xargs yum --root=xxx --yes install
> rpmbuild --root xxx ...

Where does the srpm come from?  Koji works from cvs tags to ensure that
what you build is actually what came from CVS, so you have to construct
the srpm out of the spec and sources (and oh yeah, sources come from
the lookaside, no trojan sources in random srpm tossed in)


-- 
Jesse Keating
Fedora -- All my bits are free, are yours?

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]