[packages/nagios-plugin-check_raid/DEVEL] up to 3.1.0; use nrpe trigger

glen glen at pld-linux.org
Thu Sep 11 17:13:02 CEST 2014


commit c49666e5a761d98cc7e5f5b0c1ae3d8c3c60c608
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 9 23:26:24 2014 +0300

    up to 3.1.0; use nrpe trigger

 nagios-plugin-check_raid.spec | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/nagios-plugin-check_raid.spec b/nagios-plugin-check_raid.spec
index 290a981..9898def 100644
--- a/nagios-plugin-check_raid.spec
+++ b/nagios-plugin-check_raid.spec
@@ -3,13 +3,12 @@
 %define		plugin	check_raid
 Summary:	Nagios plugin to check current server's RAID status
 Name:		nagios-plugin-%{plugin}
-Version:	3.0.6
-Release:	0.1
+Version:	3.1.0
+Release:	1
 License:	GPL v2
 Group:		Networking
-#Source0:	https://github.com/glensc/nagios-plugin-check_raid/tarball/%{version}/%{plugin}-%{version}.tgz
-Source0:	https://github.com/glensc/nagios-plugin-check_raid/tarball/master/%{plugin}-%{version}.tgz
-# Source0-md5:	b54ad9b1a676063ab3161fed9c879cba
+Source0:	https://github.com/glensc/nagios-plugin-check_raid/archive/%{version}/%{plugin}-%{version}.tar.gz
+# Source0-md5:	51e1bdabc9642b68a53ac2ca5b9961c4
 URL:		https://github.com/glensc/nagios-plugin-check_raid
 Requires:	nagios-common
 Requires:	perl-base >= 1:5.8.0
@@ -58,8 +57,7 @@ Supports:
 - Solaris software RAID via metastat
 
 %prep
-%setup -qc
-mv *-nagios-plugin-check_raid-*/* .
+%setup -q
 
 %build
 ver=$(./%{plugin}.pl -V)
@@ -87,11 +85,9 @@ if [ "$1" = 0 ]; then
 fi
 
 %triggerin -- nagios-nrpe
-set -x
 %nagios_nrpe -a %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
 
 %triggerun -- nagios-nrpe
-set -x
 %nagios_nrpe -d %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
 
 %files
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_raid.git/commitdiff/c49666e5a761d98cc7e5f5b0c1ae3d8c3c60c608



More information about the pld-cvs-commit mailing list