packages: nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec - release 1
glen
glen at pld-linux.org
Thu Dec 9 23:36:31 CET 2010
Author: glen Date: Thu Dec 9 22:36:31 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- release 1
---- Files affected:
packages/nagios-plugin-check_ipmi:
nagios-plugin-check_ipmi.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec
diff -u packages/nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec:1.1 packages/nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec:1.2
--- packages/nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec:1.1 Thu Dec 9 23:16:46 2010
+++ packages/nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec Thu Dec 9 23:36:26 2010
@@ -2,13 +2,14 @@
%define plugin check_ipmi
Summary: Nagios plugin to check IPMI status
Name: nagios-plugin-%{plugin}
-Version: 0.1
-Release: 0.2
+Version: 1.3
+Release: 1
License: GPL v2
Group: Networking
Source0: %{plugin}
Source1: %{plugin}.cfg
BuildRequires: rpmbuild(macros) >= 1.552
+Requires: ipmitool
Requires: nagios-common >= 3.2.3-3
Requires: nagios-plugins-libs
Requires: sudo
@@ -26,6 +27,11 @@
%setup -qcT
cp -p %{SOURCE0} %{plugin}
+ver=$(awk '/REVISION=/{print $3}' %{plugin})
+if [ "$ver" != %{version} ]; then
+ exit 1
+fi
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir},%{cachedir}}
@@ -66,6 +72,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2010/12/09 22:36:26 glen
+- release 1
+
Revision 1.1 2010/12/09 22:16:46 glen
- initial plugin, based on php version by op5.org
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_ipmi/nagios-plugin-check_ipmi.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list