Changes of Revision 17
[-] | Changed | nagios-plugins-check-updates.changes |
x 1
2 ------------------------------------------------------------------- 3 +Fri Jul 7 13:28:18 UTC 2023 - Carsten Schöne <carsten.schoene@internetx.com> 4 + 5 +- update to release 2.0.4 6 + 7 +------------------------------------------------------------------- 8 +Wed Dec 21 11:03:58 UTC 2022 - Carsten Schöne <carsten.schoene@internetx.com> 9 + 10 +- update to release 2.0.3 11 + 12 +------------------------------------------------------------------- 13 Fri Jun 26 09:05:13 UTC 2020 - Local OBS User <cs@linux-administrator.com> 14 15 - update to release 1.7.12 16 |
||
[-] | Changed | nagios-plugins-check-updates.spec ^ |
69 1
2 %define debug_package %{nil} 3 4 Name: nagios-plugins-check-updates 5 -Version: 1.8.0 6 +Version: 2.0.4 7 Release: 30%{?dist} 8 Summary: A Nagios plugin to check if Red Hat or Fedora system is up-to-date 9 10
11 URL: https://github.com/matteocorti/check_updates 12 Source: https://github.com/matteocorti/check_updates/releases/download/v%{version}/check_updates-%{version}.tar.gz 13 Patch0: check_updates-1.7.6-xcpng.patch 14 -Patch1: check_updates-1.7.5_version.diff 15 +Patch1: check_updates-1.8.0_version.diff 16 Patch2: check_updates-1.7.10-outputfix.diff 17 Patch3: check_updates-1.8.0-alma-rocky-linux.patch 18 -BuildRequires: perl-generators 19 BuildRequires: perl(ExtUtils::MakeMaker) 20 BuildRequires: perl(Test::More) 21 BuildRequires: perl(Module::Install) 22 -BuildRequires: perl(Monitoring::Plugin) 23 -BuildRequires: perl(Readonly) 24 25 Requires: nagios-plugins 26 Requires: which 27 +Requires: perl(Carp) 28 +Requires: perl(English) 29 +Requires: perl(Monitoring::Plugin) 30 +Requires: perl(POSIX) 31 +Requires: perl(Readonly) 32 Requires: perl(Params::Validate) 33 Requires: perl(Math::Calc::Units) 34 Requires: perl(Class::Accessor) 35
36 # Fedora <= 18 : yum-plugin-security (yum-utils subpackage; also provides yum-security) 37 # Red Hat Enterprise 6 : yum-plugin-security (yum-utils subpackage; also provides yum-security) 38 # Red Hat Enterprise 5 : yum-security (yum-utils subpackage) 39 -%if 0%{?rhel} < 8 40 +%if 0%{?rhel} && 0%{?rhel} < 8 41 Requires: yum-plugin-security 42 %endif 43 Requires: perl(Monitoring::Plugin) 44
45 46 %prep 47 %setup -q -n %{plugin}-%{version} 48 -%patch0 49 -%if 0%{?centos_version} < 800 || 0%{?rhel_version} < 800 50 +## %patch0 51 +%if ( 0%{?centos_version} && 0%{?centos_version} < 800 ) || ( 0%{?rhel_version} && 0%{?rhel_version} < 800 ) || ( 0%{?rhel} && 0%{?rhel} < 8 ) 52 %patch1 53 %endif 54 %patch2 55 -%patch3 56 +## %patch3 57 58 %build 59 %{__perl} Makefile.PL INSTALLDIRS=vendor \ 60
61 62 63 %files 64 -%doc AUTHORS Changes NEWS README.md COPYING COPYRIGHT 65 +%doc AUTHORS.md Changes NEWS README.md COPYING COPYRIGHT 66 %{nagiospluginsdir}/* 67 %{_mandir}/man1/*.1* 68 69 |
||
[+] | Added | check_updates-1.8.0_version.diff ^ |
@@ -0,0 +1,55 @@ +--- inc/version.pm.orig 2022-12-19 15:11:05.242900722 +0100 ++++ inc/version.pm 2022-12-19 15:11:39.202593953 +0100 +@@ -14,6 +14,52 @@ + $VERSION = 0.9917; + $CLASS = 'version'; + ++# !!!!Delete this next block completely when adding to Perl core!!!! ++{ ++ local $SIG{'__DIE__'}; ++ eval "use version::vxs $VERSION"; ++ if ( $@ ) { # don't have the XS version installed ++ eval "use version::vpp $VERSION"; # don't tempt fate ++ die "$@" if ( $@ ); ++ push @ISA, "version::vpp"; ++ local $^W; ++ *version::qv = \&version::vpp::qv; ++ *version::declare = \&version::vpp::declare; ++ *version::_VERSION = \&version::vpp::_VERSION; ++ *version::vcmp = \&version::vpp::vcmp; ++ *version::new = \&version::vpp::new; ++ *version::numify = \&version::vpp::numify; ++ *version::normal = \&version::vpp::normal; ++ if ($] >= 5.009000) { ++ no strict 'refs'; ++ *version::stringify = \&version::vpp::stringify; ++ *{'version::(""'} = \&version::vpp::stringify; ++ *{'version::(<=>'} = \&version::vpp::vcmp; ++ *{'version::(cmp'} = \&version::vpp::vcmp; ++ *version::parse = \&version::vpp::parse; ++ } ++ } ++ else { # use XS module ++ push @ISA, "version::vxs"; ++ local $^W; ++ *version::declare = \&version::vxs::declare; ++ *version::qv = \&version::vxs::qv; ++ *version::_VERSION = \&version::vxs::_VERSION; ++ *version::vcmp = \&version::vxs::VCMP; ++ *version::new = \&version::vxs::new; ++ *version::numify = \&version::vxs::numify; ++ *version::normal = \&version::vxs::normal; ++ if ($] >= 5.009000) { ++ no strict 'refs'; ++ *version::stringify = \&version::vxs::stringify; ++ *{'version::(""'} = \&version::vxs::stringify; ++ *{'version::(<=>'} = \&version::vxs::VCMP; ++ *{'version::(cmp'} = \&version::vxs::VCMP; ++ *version::parse = \&version::vxs::parse; ++ } ++ } ++} ++ + # avoid using Exporter + require version::regex; + *version::is_lax = \&version::regex::is_lax; | ||
Added | check_updates-2.0.4.tar.gz ^ |