Hello community, here is the log from the commit of package nagios-plugins-zypper for openSUSE:Factory checked in at Tue Apr 7 14:12:20 CEST 2009. -------- --- nagios-plugins-zypper/nagios-plugins-zypper.changes 2009-03-23 13:43:15.000000000 +0100 +++ /mounts/work_src_done/STABLE/nagios-plugins-zypper/nagios-plugins-zypper.changes 2009-04-03 10:26:51.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Apr 3 10:26:33 CEST 2009 - lrupp@suse.de + +- update to 1.01: + + better handling for SLE11 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios-plugins-zypper.spec ++++++ --- /var/tmp/diff_new_pack.g19585/_old 2009-04-07 14:11:57.000000000 +0200 +++ /var/tmp/diff_new_pack.g19585/_new 2009-04-07 14:11:57.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package nagios-plugins-zypper (Version 1.0) +# spec file for package nagios-plugins-zypper (Version 1.01) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: nagios-plugins-zypper Summary: Nagios plugin for checking software updates -Version: 1.0 +Version: 1.01 Release: 1 Url: http://en.opensuse.org/Nagios-plugins-zypper License: BSD 4-Clause @@ -72,6 +72,9 @@ %libexecdir/check_zypper %changelog +* Fri Apr 03 2009 lrupp@suse.de +- update to 1.01: + + better handling for SLE11 * Mon Mar 23 2009 lrupp@suse.de - update to 1.0: + added option '-p' to disable perfdata output ++++++ check_zypper.pl ++++++ --- /var/tmp/diff_new_pack.g19585/_old 2009-04-07 14:11:57.000000000 +0200 +++ /var/tmp/diff_new_pack.g19585/_new 2009-04-07 14:11:57.000000000 +0200 @@ -49,7 +49,7 @@ # constants $PROGNAME="check_zypper"; -$VERSION="1.0"; +$VERSION="1.01"; $DEBUG = 0; # variables @@ -423,13 +423,15 @@ $zypperopt="--non-interactive --no-gpg-checks list-updates"; } -if (("$release" eq "11.1") || (("$dist" eq "SLE") && ("$release" eq "11"))){ - $zypperopt="--xmlout list-updates -t package -t patch" +if ("$release" eq "11.1"){ + $zypperopt="--xmlout list-updates -t package -t patch"; } if ("$dist" eq "SLE"){ if (("$release" eq "10") && ($patchlevel gt 0)){ $zypperopt="--non-interactive --no-gpg-checks --terse list-updates"; + } elsif ("$release" eq "11"){ + $zypperopt="--xmlout list-updates -t package -t patch"; } else { print "UNKNOWN - SLE $release is currently not supported\n"; exit $ERRORS{"UNKNOWN"}; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org