Author: glen                         Date: Thu Jan 14 15:05:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix deps, correct service template

---- Files affected:
packages/nagios-plugin-check_bacula_log:
   nagios-plugin-check_bacula_log.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: 
packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec
diff -u 
packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec:1.1 
packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec:1.2
--- 
packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec:1.1 
    Thu Jan 14 14:40:19 2010
+++ packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec 
Thu Jan 14 16:05:08 2010
@@ -1,27 +1,33 @@
 # $Revision$, $Date$
 %define                plugin  check_bacula_log
+%include       /usr/lib/rpm/macros.perl
 Summary:       Nagios plugin to check bacula status via bacula log
 Name:          nagios-plugin-%{plugin}
 Version:       0.3
-Release:       0.1
+Release:       0.5
 License:       GPL v2
 Group:         Networking
 # Source0Download: 
http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1327&cf_id=24
 Source0:       nocturnal_nagios_plugins-1.0.tar.gz
 URL:           
http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/Bacula/nagios%252Dcheck_bacula/details
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 Requires:      nagios-common
-Requires:      nagios-libs
+Requires:      nagios-plugins-libs
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/nagios/plugins
 %define                plugindir       %{_prefix}/lib/nagios/plugins
 
+%define                _noautoreq      'perl(utils)'
+
 %description
-Nagios plugin that checks whether the backups made for today with the Bacula
-backup system were succesful. 
+Nagios plugin that checks whether the backups made for today with the
+Bacula backup system were succesful.
 
-This requires the Nagios user to have read access to the bacula log file. 
+This requires the Nagios user to have read access to the bacula log
+file.
 
 %prep
 %setup -qc
@@ -35,6 +41,8 @@
 
 define service {
        use                     generic-service
+    name                    bacula_log
+    register                0
        service_description     Bacula job status
 
        normal_check_interval   86400
@@ -65,5 +73,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/01/14 15:05:08  glen
+- fix deps, correct service template
+
 Revision 1.1  2010/01/14 13:40:19  glen
 - new, use check_bacula_log as name to reserve check_bacula name for plugin on 
bacula contrib
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_bacula_log/nagios-plugin-check_bacula_log.spec?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to