packages: nagios-plugin-check_raid/nagios-plugin-check_raid.spec - include ...

glen glen at pld-linux.org
Tue Sep 13 07:47:48 CEST 2011


Author: glen                         Date: Tue Sep 13 05:47:48 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- include cvs rev in package version

---- Files affected:
packages/nagios-plugin-check_raid:
   nagios-plugin-check_raid.spec (1.26 -> 1.27) 

---- 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.26 packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.27
--- packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec:1.26	Mon Apr 18 09:54:56 2011
+++ packages/nagios-plugin-check_raid/nagios-plugin-check_raid.spec	Tue Sep 13 07:47:43 2011
@@ -4,8 +4,8 @@
 %define		plugin	check_raid
 Summary:	Nagios plugin to check current server's RAID status
 Name:		nagios-plugin-%{plugin}
-Version:	2.1
-Release:	13
+Version:	2.1.1.97
+Release:	1
 License:	GPL v2
 Group:		Networking
 Source0:	%{plugin}
@@ -45,11 +45,14 @@
 %setup -qcT
 cp -p %{SOURCE0} %{plugin}
 
+rev=$(awk '/Id: check_raid/{print $4}' check_raid)
+test %{version} = 2.1.$rev
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir}}
 install -p %{plugin} $RPM_BUILD_ROOT%{plugindir}/%{plugin}
-cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -77,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2011/09/13 05:47:43  glen
+- include cvs rev in package version
+
 Revision 1.26  2011/04/18 07:54:56  glen
 - rel 13, a patch to afacli
 
================================================================

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



More information about the pld-cvs-commit mailing list