Ross Walker wrote:
To do that you can try issuing an 'arch i386 rpmbuild -ba -- target=i386 <your spec file>' the 'arch i386' sets up the environment to report the machine is i386. That doesn't work everywhere, that is why mock or Xen or VMware with a full i386 environment is the recommended approach.
Personnally I like Xen as it comes with the OS and using virt-install getting another CentOS PV guest os is relatively quick. Others prefer mock still others VMware. Only mock and Xen can do it in a text-only setup.
VMware server needs the X libs installed, but doesn't need X to be running on the host itself. You can connect VMware console from some other machine if you need access to the virtual guest's console.