Below is a patch against latest CVS to correct a few minor errors in the
spec file so that it will build on Fedora Core.
-Shad
Index: nagios.spec
===================================================================
RCS file: /cvsroot/nagios/nagios/nagios.spec,v
retrieving revision 1.18
diff -u -r1.18 nagios.spec
--- nagios.spec 23 Nov 2003 01:36:03 -0000 1.18
+++ nagios.spec 11 Jun 2004 19:36:32 -0000
@@ -265,7 +265,7 @@
cd ..
# install headers for development package
-install -m 0644 common/locations.h
${RPM_BUILD_ROOT}%{_prefix}/include/nagios
+install -m 0644 include/locations.h
${RPM_BUILD_ROOT}%{_prefix}/include/nagios
# install httpd configuration in RH80-style httpd config subdir
cp contrib/htaccess.sample ${RPM_BUILD_ROOT}/etc/httpd/conf.d/nagios.conf
@@ -294,6 +294,7 @@
%defattr(755,root,root)
/etc/init.d/nagios
%{_prefix}/sbin/nagios
+%{_prefix}/sbin/nagiostats
%if %{EMBPERL}
%{_prefix}/sbin/p1.pl
%endif
@@ -313,7 +314,7 @@
%dir /var/log/nagios/archives
%defattr(2775,%{nsusr},%{nsgrp})
%dir /var/spool/nagios
-%doc Changelog INSTALLING LICENSE README UPGRADING pkg/rpm/nagios.logrotate
+%doc Changelog INSTALLING LICENSE README UPGRADING
%files www
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]