[CentOS] rpmbuild and new specfile

Wed Apr 9 16:27:15 UTC 2008
Joseph L. Casale <jcasale at ActiveNetwerx.com>

>You don't. You do "rpmbuild -ba <new specfile>"

I read that, but I assumed it required the source to be unpacked. I tried it and I recieved the following error while trying to compile xen 3.2 srpm under CentOS 5.1x64:

error: Bad exit status from /var/tmp/rpm-tmp.42788 (%build)

Cleaning out the /var/tmp dir fixed it? Is that normal/fluke?