packages: nagios-plugin-check_raid/nagios-plugin-check_raid.spec - up to 2....

glen glen at pld-linux.org
Mon May 28 10:04:20 CEST 2012


Author: glen                         Date: Mon May 28 08:04:20 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.2, project moved to github

---- Files affected:
packages/nagios-plugin-check_raid:
   nagios-plugin-check_raid.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec
diff -u packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.29 packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.30
--- packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.29	Mon Mar 12 21:51:17 2012
+++ packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec	Mon May 28 10:04:15 2012
@@ -4,13 +4,13 @@
 %define		plugin	check_raid
 Summary:	Nagios plugin to check current server's RAID status
 Name:		nagios-plugin-%{plugin}
-Version:	2.1.1.113
+Version:	2.2
 Release:	1
 License:	GPL v2
 Group:		Networking
-Source0:	%{plugin}
-Source1:	%{plugin}.cfg
-URL:		http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/RAID-Controllers/check_raid/details
+Source0:	https://github.com/glensc/nagios-plugin-check_raid/tarball/%{version}/%{plugin}-%{version}.tgz
+# Source0-md5:	c61be3cee6f55da40610dc0dc8bdb7ed
+URL:		https://github.com/glensc/nagios-plugin-check_raid
 Requires:	nagios-common
 Requires:	perl-base >= 1:5.8.0
 Requires:	sudo
@@ -55,17 +55,14 @@
 - Solaris software RAID via metastat
 
 %prep
-%setup -qcT
-cp -p %{SOURCE0} %{plugin}
-
-rev=$(awk '/Id: check_raid/{print $4}' check_raid)
-test %{version} = 2.1.$rev
+%setup -qc
+mv *-nagios-plugin-check_raid-*/* .
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir}}
-install -p %{plugin} $RPM_BUILD_ROOT%{plugindir}/%{plugin}
-cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
+install -p %{plugin}.pl $RPM_BUILD_ROOT%{plugindir}/%{plugin}
+cp -p %{plugin}.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -93,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2012/05/28 08:04:15  glen
+- up to 2.2, project moved to github
+
 Revision 1.29  2012/03/12 20:51:17  glen
 - up to 2.1.1.113, check disks for cciss/hpmsa with smartctl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec?r1=1.29&r2=1.30



More information about the pld-cvs-commit mailing list