Accepting request 1118057 from home:kukuk:branches:server:monitoring
- Add buildrequires for coreutils-systemd, as the configure script checks for uptime [bsc#1216148] OBS-URL: https://build.opensuse.org/request/show/1118057 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=109
This commit is contained in:
parent
6aff090ca2
commit
b111a5b9dc
@ -1,13 +0,0 @@
|
||||
Index: monitoring-plugins-2.3.1/plugins/check_ntp_time.c
|
||||
===================================================================
|
||||
--- monitoring-plugins-2.3.1.orig/plugins/check_ntp_time.c
|
||||
+++ monitoring-plugins-2.3.1/plugins/check_ntp_time.c
|
||||
@@ -533,7 +533,7 @@ int process_arguments(int argc, char **a
|
||||
|
||||
char *perfd_offset (double offset)
|
||||
{
|
||||
- return fperfdata ("offset", offset, "s",
|
||||
+ return fperfdata ("offset", fabs(offset), "s",
|
||||
TRUE, offset_thresholds->warning->end,
|
||||
TRUE, offset_thresholds->critical->end,
|
||||
FALSE, 0, FALSE, 0);
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 16 13:23:42 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Add buildrequires for coreutils-systemd, as the configure script
|
||||
checks for uptime [bsc#1216148]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 15 14:44:14 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
@ -97,6 +97,9 @@ PreReq: permissions
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
%if 0%{?suse_version} > 1599
|
||||
BuildRequires: coreutils-systemd
|
||||
%endif
|
||||
BuildRequires: iputils
|
||||
BuildRequires: libdbi-devel
|
||||
BuildRequires: pkgconfig(smbclient)
|
||||
|
Loading…
x
Reference in New Issue
Block a user