Hello community, here is the log from the commit of package nagios-plugins-zypper checked in at Fri Nov 28 15:41:53 CET 2008. -------- --- nagios-plugins-zypper/nagios-plugins-zypper.changes 2008-10-23 15:11:45.000000000 +0200 +++ nagios-plugins-zypper/nagios-plugins-zypper.changes 2008-11-27 10:54:37.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Nov 27 10:54:19 CET 2008 - lrupp@suse.de + +- update to 0.9: + - better whitespace handling for SLE10 based products + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios-plugins-zypper.spec ++++++ --- /var/tmp/diff_new_pack.W28435/_old 2008-11-28 15:40:58.000000000 +0100 +++ /var/tmp/diff_new_pack.W28435/_new 2008-11-28 15:40:58.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package nagios-plugins-zypper (Version 0.8.1) +# spec file for package nagios-plugins-zypper (Version 0.9) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: nagios-plugins-zypper Summary: Nagios plugin for checking software updates -Version: 0.8.1 +Version: 0.9 Release: 1 Url: http://en.opensuse.org/nagios-plugins-zypper License: BSD 4-Clause @@ -74,6 +74,9 @@ %libexecdir/check_zypper %changelog +* Thu Nov 27 2008 lrupp@suse.de +- update to 0.9: + - better whitespace handling for SLE10 based products * Thu Oct 23 2008 lrupp@suse.de - update to 0.8.1: + enhance the documentation (help text) ++++++ check_zypper.pl ++++++ --- /var/tmp/diff_new_pack.W28435/_old 2008-11-28 15:40:58.000000000 +0100 +++ /var/tmp/diff_new_pack.W28435/_new 2008-11-28 15:40:58.000000000 +0100 @@ -52,7 +52,7 @@ # constants $PROGNAME="check_zypper"; -my $VERSION="0.8.1"; +my $VERSION="0.9"; my $DEBUG = 0; # variables @@ -93,6 +93,7 @@ } } close(RELEASE); + print STDERR "INFO: $dist,$release,$patchlevel\n" if ($DEBUG); return($dist,$release,$patchlevel); } @@ -189,15 +190,15 @@ return("UNKNOWN: $_","UNKNOWN") if (/Error message:/); return("UNKNOWN: $_","UNKNOWN") if (/A ZYpp transaction is already in progress./); if (( "$release" eq "10.2" ) || ("$dist" eq "SLE")){ - if (/\| optional \| Needed/) { + if (/\|\s*optional\s*\|\s*Needed/) { $category="optional"; $optcount++; } - if (/\| recommended \| Needed/){ + if (/\|\s*recommended\s*\|\s*Needed/){ $category="recommended"; $reccount++; } - if (/\| security \| Needed/){ + if (/\|\s*security\s*\|\s*Needed/){ $category="security"; $seccount++; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org