]> git.pld-linux.org Git - packages/nagios-plugin-check_poldek.git/blobdiff - nagios-plugin-check_poldek.spec
- use nagios user for %post
[packages/nagios-plugin-check_poldek.git] / nagios-plugin-check_poldek.spec
index 6034e2901ba83f9b42222fbbe23b0ed3f92c377e..78ce68090086f5f443be649339d392a0a574da53 100644 (file)
@@ -2,12 +2,12 @@
 Summary:       Nagios plugin to check updates of poldek based systems
 Summary(pl.UTF_8):     Wtyczka Nagiosa sprawdzająca aktualizacje systemów używających poldka
 Name:          nagios-plugin-%{plugin}
-Version:       0.3
+Version:       0.4
 Release:       1
 License:       MIT
 Group:         Networking
 Source0:       http://github.com/pawelz/nagios-check_poldek/tarball/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: f3efc8d83b8022945657ea583645e820
+# Source0-md5: 52eb9d732acb630b4e97f7032532c6a4
 URL:           http://github.com/pawelz/nagios-check_poldek
 BuildRequires: rpmbuild(macros) >= 1.552
 Requires:      grep
@@ -57,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
 %nagios_nrpe -d %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
 
 %post
-poldek --cache %{cachedir} -q --up
+su -s /bin/sh -c 'poldek --cache %{cachedir} -q --up' nagios
 
 %files
 %defattr(644,root,root,755)
This page took 0.069486 seconds and 4 git commands to generate.