commit c6097f34e80252e00651b2432bd746c39b2ddf53
Author: Mateusz Korniak <[email protected]>
Date:   Fri Nov 6 17:41:35 2015 +0100

    Release 1. Good enough for me. Added TODO.

 nagios-plugin-check_postgres.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/nagios-plugin-check_postgres.spec 
b/nagios-plugin-check_postgres.spec
index 3c1f8c5..64133e7 100644
--- a/nagios-plugin-check_postgres.spec
+++ b/nagios-plugin-check_postgres.spec
@@ -1,27 +1,27 @@
-# TODO: 
+# TODO:
 #      Add docs
 #      Fix service file
 %define                plugin  check_postgres
 # enable here and BR deps, and noautoreq for Perl based plugins
-#%include      /usr/lib/rpm/macros.perl
+%include       /usr/lib/rpm/macros.perl
 Summary:       Nagios plugin to check postgresql
 Summary(pl.UTF-8):     Wtyczka Nagiosa sprawdzajÄ…ca Postgresql
 Name:          nagios-plugin-%{plugin}
 Version:       2.22.0
-Release:       0.1
+Release:       1
 License:       BSD
 Group:         Networking
 Source0:       http://bucardo.org/downloads/check_postgres-%{version}.tar.gz
 # Source0-md5: 0ac4a8bae7b633fbfacdf58be5a1975f
 # Source1:     %{plugin}.cfg
-#Patch0:               %{name}-defaultpass.patch
+#Patch0: %{name}-defaultpass.patch
 URL:           https://bucardo.org/wiki/Check_postgres
 # enable for Perl based plugins
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: rpmbuild(macros) >= 1.654
-Requires:      nagios-common
 # Requires:    nagios-plugins-libs for utils.{sh,pm,php}, for Perl set 
noautoreq for perl(utils)
+Requires:      nagios-common
 #Requires:     nagios-plugins-libs
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -85,6 +85,7 @@ cp -p %{plugin}.cfg 
$RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%defattr(644,root,root,755)
 ## %doc README TODO check_postgres.pl.html
 %defattr(644,root,root,755)
 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{plugin}.cfg
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to