[packages/nagios-plugin-check_postgres] Release 2. R: which binary.

matkor matkor at pld-linux.org
Tue Nov 17 16:52:00 CET 2015


commit 62d757c097ac8378769a5f5ed3eec708bbd82994
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Tue Nov 17 16:51:52 2015 +0100

    Release 2. R: which binary.

 nagios-plugin-check_postgres.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/nagios-plugin-check_postgres.spec b/nagios-plugin-check_postgres.spec
index b1be3cd..6e4f86e 100644
--- a/nagios-plugin-check_postgres.spec
+++ b/nagios-plugin-check_postgres.spec
@@ -1,6 +1,6 @@
 # TODO:
-#	Add docs
-#	Fix service file
+# - Add docs
+# - Fix service file
 # - check_postgres.cfg - add working sample!
 %define		plugin	check_postgres
 %include	/usr/lib/rpm/macros.perl
@@ -8,7 +8,7 @@ Summary:	Nagios plugin to check postgresql
 Summary(pl.UTF-8):	Wtyczka Nagiosa sprawdzająca Postgresql
 Name:		nagios-plugin-%{plugin}
 Version:	2.22.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Networking
 Source0:	http://bucardo.org/downloads/check_postgres-%{version}.tar.gz
@@ -18,6 +18,8 @@ URL:		https://bucardo.org/wiki/Check_postgres
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	nagios-common
+# which is needed to locate psql in some cases (under nagios user)
+Requires:	which 
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_postgres.git/commitdiff/62d757c097ac8378769a5f5ed3eec708bbd82994



More information about the pld-cvs-commit mailing list