[CentOS] rpmbuild and new specfile

Wed Apr 9 16:47:53 UTC 2008
Akemi Yagi <amyagi at gmail.com>

On Wed, Apr 9, 2008 at 9:27 AM, Joseph L. Casale
<jcasale at activenetwerx.com> wrote:
>  >You don't. You do "rpmbuild -ba <new specfile>"
>  >
>  >Regards,
>  >Tim
>  Hi,
>  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)

May I ask one question?  If you do not edit the spec file and run the
same rpmbuild -ba command against the original spec, would it build
without errors?