simple build system for personal repos?

Richard W.M. Jones rjones at
Mon Feb 8 08:54:41 UTC 2010

On Mon, Feb 08, 2010 at 08:12:05AM +0100, Kevin Kofler wrote:
> Richard W.M. Jones wrote:
> > You might want to look at smock, which is the tool (wrapper around
> > 'mock') that we initially used to build the mingw tree.  One nice
> > feature is that it sorts out dependencies and can build for multiple
> > Fedora distros and architectures in one go.
> But the way it "sorts out dependencies" is unlikely to work for anything 
> other than MinGW as it assumes that the package name which is BuildRequired 
> is the SRPM name[...]

This isn't quite right.  The code is only concerned with dependencies
between packages in the submitted set, and works by lopping off the
extension (eg. "foo-doc" -> "foo") until it finds the common BR:;a=blob;f=smock/;h=76a1a542f3e467bfab7004335fdd809396f1244d;hb=HEAD#l191

This of course is quite simple and won't catch package "foo" which
generated subpackage "bar", but since we have all the SRPMs [hence,
specs] available it should be possible to modify the code to handle
that case as well.  Or if you have a specific set of packages in mind,
just add a hack into the above function -- smock was never designed as
a generic tool for this, which is why we never tidied it up and gave
it a proper release.


Richard Jones, Virtualization Group, Red Hat
Read my programming blog:
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

More information about the devel mailing list