example of buildsys rpm

seth vidal skvidal at linux.duke.edu
Tue Apr 11 07:55:49 UTC 2006


On Thu, 2006-04-06 at 00:23 +0300, Panu Matilainen wrote:
> On Wed, 2006-04-05 at 13:22 -0500, Clark Williams wrote:
> 
> > >2) What's the purpose of installing the spec file in the chroot? I'm
> > >afraid I don't see the point. You'll never need it there. If you want
> > >to see what the requires were that got installed, you could do a "rpm -
> > >qRp buildsys-minimal.*.rpm"
> > >
> > Yeah, I had never created an RPM with an empty %files section, so I
> > thought I needed something to go there. Silly me.
> > 
> > Attached is a new specfile that creates three binary RPMs:
> > buildsys-base, buildsys-minimal, and buildsys-build. This one doesn't
> > include the specfile as payload and is somewhat cleaned up.
> 
> I'm just wondering... why does mock need three different sets of
> packages? I can see mach wants that because it's more than just a "build
> this package in a chroot for me" but in case of mock, wouldn't simply
> one set of minimal build requirements be enough? 
> /me must be missing something :)

actually, you're not missing anything. It's a leftover that I had
forgotten and that we can, for all intents and purposes, abandon.

-sv







More information about the Fedora-buildsys-list mailing list