<p>When I trying to build an rpm (rpmbuild -ba nagios-plugins.spec ï¼ˆfrom nagios-plugins-1.5.tar.gz and nagios-plugins-1.5-6-g4ab4.tar.gz) I get:</p>

<ul>
<li>build-aux/install-sh -c -d /root/rpmbuild/BUILDROOT/nagios-plugins-1.5-1.x86_64/etc/nagios</li>
<li>build-aux/install-sh -c -m 664 command.cfg /root/rpmbuild/BUILDROOT/nagios-plugins-1.5-1.x86_64/etc/nagios
build-aux/install-sh: command.cfg does not exist.
error: Bad exit status from /var/tmp/rpm-tmp.DCK0Sp (%install)</li>
</ul><p>RPM build errors:<br>
Bad exit status from /var/tmp/rpm-tmp.DCK0Sp (%install)</p>

<p>From the errors, i know command.cfg is not be found. But, why the cfg is not exist?<br>
Where i did wrong? <br>
PS:i build nagios-4.0.2's rpm first,and rpmbuild seems ok.</p>

<p>Thanks for each help.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/nagios-plugins/nagios-plugins/issues/1217'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/_EHT0K2RMtzboqJPrl-P-GAyijcQTikK8Vr7IO764UEgZi0dJdd1t7j9vbys8hte.gif' height='1' width='1'></p>