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

ANNOUNCE: Smock (simpler mock) - a mock wrapper for chain building

'Smock' stands for 'simpler mock'.  It's a script that runs on top of
mock, allowing you to chain-build a series of RPMs from a single

  smock.pl --arch=i386 --arch=x86_64 \
      --distro=fedora-9 --distro=fedora-10 \

The above command would arrange the SRPMs into the correct order
according to their BuildRequires, then build each in the four separate
mock environments Fedora {9,10} {i386,x86_64}.  It makes the result of
each previous package build available to subsequent packages, and in
case of error it is fully restartable (it skips packages which have
already been built).

The script was written by Dan Berrange and extensively hacked on by
me.  This is how we've been building the MinGW & OCaml packages for
quite a while.

Available from:

  (click 'manifest' then 'smock')

Please read the README file!

Example output:


Example wrapper script we use for MinGW:


Commands we use for OCaml:

  cd fedora
  for f in ocaml*; do (cd $f/devel && make srpm); done
  smock.pl --arch=i386 --arch=x86_64 --distro=fedora-rawhide \


Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)

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