From 9b338fc17f0963dbb8258a0086f071675cdc3e36 Mon Sep 17 00:00:00 2001 From: pawelz Date: Tue, 11 May 2010 17:20:55 +0000 Subject: [PATCH] - %post scriptlet that needs network access was bad idea - rel 2 Changed files: nagios-plugin-check_poldek.spec -> 1.13 --- nagios-plugin-check_poldek.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nagios-plugin-check_poldek.spec b/nagios-plugin-check_poldek.spec index 78ce680..65e7408 100644 --- a/nagios-plugin-check_poldek.spec +++ b/nagios-plugin-check_poldek.spec @@ -3,7 +3,7 @@ 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 -Release: 1 +Release: 2 License: MIT Group: Networking Source0: http://github.com/pawelz/nagios-check_poldek/tarball/v%{version}/%{name}-%{version}.tar.gz @@ -56,9 +56,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 -- 2.43.0