Mock-urpm
From Rosalab Wiki
Mock is a program that builds packages inside a chroot, originally by Fedora Project. The chroot contents are defined by a set of config files.
To install, run "urpmi mock-urpm"; this will set up proper users, so you can instantly fire
sudo mock-urpm /path/to/src/rpm --enable tmpfs
See logs in /var/lib/mock-urpm/{rootname}/results.
Read more at "man mock-urpm". The tool originates from Fedora, see an article about mock there.
This page is under construction. Its Russian version is more detailed, though..