Bad exit status from /var/tmp/rpm-tmp.a5Y4NP (%build)
<p>I am trying to build a simple source rpm package for nginx (nginx-1.11.4-1.el6.ngx.src.rpm). But i am not able to build as its giving me errors. I have already followed these two threads.. Bad exit status from /var/tmp/rpm-tmp.b1DgAt (%build) and Bad exit status from /var/tmp/rpm-tmp.ajKra4 (%prep). But nothing seems to be working for me. </p>

<p>I cannot figure out the problem. please help me to fix this. </p>