Changes of Revision 8
[-] | Changed | nagios-plugins-check-updates.changes |
1
2 ------------------------------------------------------------------- 3 +Wed Oct 2 20:56:47 UTC 2019 - Local OBS User <cs@linux-administrator.com> 4 + 5 +- add check_updates-1.7.5-outputfix.diff 6 + 7 +------------------------------------------------------------------- 8 Tue Oct 1 10:39:44 UTC 2019 - Local OBS User <cs@linux-administrator.com> 9 10 - update to release 1.7.5 11 |
||
[-] | Changed | nagios-plugins-check-updates.spec ^ |
17 1
2 Source: https://github.com/matteocorti/check_updates/releases/download/v%{version}/check_updates-%{version}.tar.gz 3 Patch0: check_updates-1.6.23-xcpng.patch 4 Patch1: check_updates-1.7.5_version.diff 5 +Patch2: check_updates-1.7.5-outputfix.diff 6 BuildRequires: perl-generators 7 BuildRequires: perl(ExtUtils::MakeMaker) 8 BuildRequires: perl(Test::More) 9
10 %if 0%{?centos_version} < 800 || 0%{?rhel_version} < 800 11 %patch1 12 %endif 13 +%patch2 14 15 %build 16 %{__perl} Makefile.PL INSTALLDIRS=vendor \ 17 |
||
[+] | Added | check_updates-1.7.5-outputfix.diff ^ |
@@ -0,0 +1,23 @@ +--- check_updates.orig 2019-08-20 09:48:03.000000000 +0200 ++++ check_updates 2019-10-02 22:54:15.640032551 +0200 +@@ -486,6 +486,9 @@ + my $arguments = shift; + my $yum_command = shift; + ++ ++ $ENV{'LANG'} = 'C'; ++ + # per default check updates + # --assumeno to avoid a timeout when the GPG key is not present + # we need to process STDERR to catch errors (e.g., missing GPG key) +@@ -537,8 +540,10 @@ + if ( $line =~ /^Last[ ]metadata[ ]expiration/imxs + || $line =~ /^Loaded[ ]plugins:/imxs + || $line =~ /^Loading[ ]mirror[ ]speeds/imxs ++ || $line =~ /^Including[ ]mirror:/imxs + || $line =~ /[ ].B\/s[ ][|][ ]/imxs + || $line =~ /^No\ security\ updates/imxs ++ || $line =~ /packages[ ]excluded/imxs + || $line =~ + /^Security:[ ].*is[ ]an[ ]installed[ ]security[ ]update/imxs + || $line =~ |