Failed to package nagios-plugins-2.0.2 via rpmbuild tool
Posted: Wed Jun 18, 2014 4:06 am
I am going to package nagios-plugins-2.0.2 via rpmbuild tool, but failed, it always says:
cp: cannot stat `command.cfg': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.tL1Y37 (%doc)
RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/nagios-plugins-2.0.2-1.x86_64/etc/nagios/command.cfg
Bad exit status from /var/tmp/rpm-tmp.tL1Y37 (%doc)
command is: # rpmbuild -ta nagios-plugins-2.0.2.tar.gz
My host information : CentOS 6.4 x86_64 SMP
For more informations please look at the attachement.
cp: cannot stat `command.cfg': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.tL1Y37 (%doc)
RPM build errors:
File not found: /root/rpmbuild/BUILDROOT/nagios-plugins-2.0.2-1.x86_64/etc/nagios/command.cfg
Bad exit status from /var/tmp/rpm-tmp.tL1Y37 (%doc)
command is: # rpmbuild -ta nagios-plugins-2.0.2.tar.gz
My host information : CentOS 6.4 x86_64 SMP
For more informations please look at the attachement.