Page 1 of 1

Nagios-plugins-2.0.3 spec file issues

Posted: Wed Aug 06, 2014 9:31 am
by RHCEv6
I had to make the following changes to the spec file to get it to create an rpm:

Added to Install section:

for i in $(comm -13 %{npdir}/ls-plugins-root-before %{npdir}/ls-plugins-root-after | egrep -v "\.o$|^\.")
do cp %{npdir}/plugins-root/$i $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
done
rm -rf $RPM_BUILD_ROOT/usr/share/locale

Changed files section to look like this:

%files -f %{name}.lang
%doc CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS
%doc ChangeLog

Re: Nagios-plugins-2.0.3 spec file issues

Posted: Thu Aug 07, 2014 4:44 pm
by tmcdonald
Thanks for the report! I'll pass this along.

Re: Nagios-plugins-2.0.3 spec file issues

Posted: Thu Oct 23, 2014 6:01 pm
by hamsandwich
This is still broken as of today (10/23/2014). The spec file you're distributing with nagios-plugins 2.0.3 will not build.

Re: Nagios-plugins-2.0.3 spec file issues

Posted: Fri Oct 24, 2014 1:16 pm
by sreinhardt
Thanks for the reminder, although it is extremely high on my personal list to do for 2.1, maybe I'll put it on the list for this weekend....