nagios v2.0 spec patch

Shad L. Lords lists at lordsfam.net
Fri Jun 11 21:38:16 CEST 2004


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 SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504




More information about the Developers mailing list