Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package monitoring-plugins-http_json for openSUSE:Factory checked in at 2021-03-06 21:19:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-http_json (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-http_json.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-http_json" Sat Mar 6 21:19:36 2021 rev:3 rq:877384 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/monitoring-plugins-http_json/monitoring-plugins-http_json.changes 2020-07-05 01:21:32.197617216 +0200 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-http_json.new.2378/monitoring-plugins-http_json.changes 2021-03-06 21:19:36.585290607 +0100 @@ -1,0 +2,13 @@ +Tue Mar 2 08:23:28 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Don't build with python36 +- Update to version 2.1.1 + * Always load system default CA files. + * Fix conditional check on empty data. +- Update to version 2.1 + * Empty JSON return values are now handled. + * Scripts tries to parse and apply rules on HTTPErrors (50*) +- remove extra download of icinga2_check_command_definition.conf + it's now part of the release tarball + +------------------------------------------------------------------- Old: ---- _service _servicedata icinga2_check_command_definition.conf monitoring-plugins-http_json-2.1+git.1593763135.c23ebac.tar.xz New: ---- nagios-http-json-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins-http_json.spec ++++++ --- /var/tmp/diff_new_pack.BpHg09/_old 2021-03-06 21:19:37.053290995 +0100 +++ /var/tmp/diff_new_pack.BpHg09/_new 2021-03-06 21:19:37.057290998 +0100 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-http_json # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,16 @@ %define modname monitoring-plugins-http_json %define skip_python2 1 +%define skip_python36 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: monitoring-plugins-http_json -Version: 2.1+git.1593763135.c23ebac +Version: 2.1.1 Release: 0 Summary: Plugin for Nagios which checks json values from a given HTTP endpoint License: Apache-2.0 Group: System/Monitoring URL: https://github.com/drewkerrigan/nagios-http-json -Source: %{modname}-%{version}.tar.xz -Source1: https://raw.githubusercontent.com/bb-Ricardo/nagios-http-json/next-release/contrib/icinga2_check_command_definition.conf +Source: https://github.com/drewkerrigan/nagios-http-json/archive/v%{version}.tar.gz#/nagios-http-json-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: nagios-rpm-macros @@ -41,15 +41,15 @@ status and performance data for that service. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n nagios-http-json-%{version} sed -i -e '1{s:^#!\s*/usr/bin/env python:#!%{_bindir}/python:}' *.py -cp %{SOURCE1} . %build /bin/true %install install -Dpm 0755 check_http_json.py %{buildroot}%{nagios_plugindir}/check_http_json +%python_clone -a %{buildroot}%{nagios_plugindir}/check_http_json %check # There are no tests upstream, don???t pretend there are. @@ -57,9 +57,9 @@ %files %{python_files} %license LICENSE %doc README.md docs -%doc icinga2_check_command_definition.conf +%doc contrib/icinga2_check_command_definition.conf %dir %{nagios_libdir} %dir %{nagios_plugindir} -%{nagios_plugindir}/check_http_json +%python_alternative %{nagios_plugindir}/check_http_json %changelog