]> git.pld-linux.org Git - packages/nagios-plugin-check_poldek.git/blobdiff - nagios-plugin-check_poldek.spec
- up to 0.5
[packages/nagios-plugin-check_poldek.git] / nagios-plugin-check_poldek.spec
index 78ce68090086f5f443be649339d392a0a574da53..d754eaade49a581a7afb46179df9c3123119811b 100644 (file)
@@ -2,13 +2,14 @@
 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.4
+Version:       0.5
 Release:       1
 License:       MIT
 Group:         Networking
 Source0:       http://github.com/pawelz/nagios-check_poldek/tarball/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 52eb9d732acb630b4e97f7032532c6a4
+# Source0-md5: f1b67d7640f1c1558e6e99838b66a331
 URL:           http://github.com/pawelz/nagios-check_poldek
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.552
 Requires:      grep
 Requires:      nagios-common
@@ -56,9 +57,6 @@ rm -rf $RPM_BUILD_ROOT
 %triggerun -- nagios-nrpe
 %nagios_nrpe -d %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
 
-%post
-su -s /bin/sh -c 'poldek --cache %{cachedir} -q --up' nagios
-
 %files
 %defattr(644,root,root,755)
 %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
This page took 0.041534 seconds and 4 git commands to generate.