<span>So yes, mock does the trick. Here are quick pointers for those interested.<br><br>It compiles srpms only, so you have to rpmbuild -bs specfile first.<br><br>If you don't want it to always fetch packages from a repository (very slow), install a local image:
<br><br>mock --autocache --rebuildcache -r fedora-6-i386-core.cfg  init<br>mock --autocache -r fedora-6-i386-core.cfg clean<br><br>Don't forget to add yourself to the "mock" group.<br></span><span><br>Since I will only be compiling i386 packages with mock, I changed the default config:
<br><br>cd /etc/mock <br>rm default.cfg <br>ln -s fedora-6-i386-core.cfg default.cfg <br> <br>Then you can co</span><span>mpile:<br><br>mock --no-clean --debug /phil/src/rpm/SRPMS/freetype-2.2.1-16bci.src.rpm <br><br>Here the command omits -r, so mock will assume it should use our 
default.cfg.<br><br>If you omit --no-clean, the chroot gets recreated everytime and makes compilation take much longer. If you omit --debug, you won't see much output at all.<br><br>Cheers!<br></span>