Accepting request 915471 from home:cvoegl:branches:server:monitoring
- Disabled the mqtt plugin for SLES and the modbus plugin for everything except Tumpleweed as the dependencies are not met in those distributions - Added the modbus plugin as dependency to plugins-all OBS-URL: https://build.opensuse.org/request/show/915471 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/collectd?expand=0&rev=173
This commit is contained in:
parent
138347db68
commit
fc23dd9e28
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 1 11:14:56 UTC 2021 - Christian Vögl <christian.voegl@suse.com>
|
||||||
|
|
||||||
|
- Disabled the mqtt plugin for SLES and the modbus plugin for
|
||||||
|
everything except Tumpleweed as the dependencies are not met in
|
||||||
|
those distributions
|
||||||
|
- Added the modbus plugin as dependency to plugins-all
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 30 08:09:48 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
Mon Aug 30 08:09:48 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
@ -110,8 +110,12 @@ BuildRequires: pkgconfig(libiptc)
|
|||||||
BuildRequires: pkgconfig(libmemcached)
|
BuildRequires: pkgconfig(libmemcached)
|
||||||
BuildRequires: pkgconfig(libmicrohttpd)
|
BuildRequires: pkgconfig(libmicrohttpd)
|
||||||
BuildRequires: pkgconfig(libmnl)
|
BuildRequires: pkgconfig(libmnl)
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
BuildRequires: pkgconfig(libmodbus)
|
BuildRequires: pkgconfig(libmodbus)
|
||||||
|
%endif
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
BuildRequires: pkgconfig(libmosquitto)
|
BuildRequires: pkgconfig(libmosquitto)
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(libnotify)
|
BuildRequires: pkgconfig(libnotify)
|
||||||
BuildRequires: pkgconfig(liboping)
|
BuildRequires: pkgconfig(liboping)
|
||||||
BuildRequires: pkgconfig(libpq)
|
BuildRequires: pkgconfig(libpq)
|
||||||
@ -296,6 +300,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description plugin-memcachec
|
%description plugin-memcachec
|
||||||
Optional %{name} plugin to sample memcached statistics.
|
Optional %{name} plugin to sample memcached statistics.
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%package plugin-modbus
|
%package plugin-modbus
|
||||||
Summary: TCP Modbus Plugin for %{name}
|
Summary: TCP Modbus Plugin for %{name}
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
@ -303,7 +308,9 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
|
|
||||||
%description plugin-modbus
|
%description plugin-modbus
|
||||||
Optional %{name} plugin to communicate with TCP Modbus devices.
|
Optional %{name} plugin to communicate with TCP Modbus devices.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
%package plugin-mqtt
|
%package plugin-mqtt
|
||||||
Summary: MQTT Plugin for %{name}
|
Summary: MQTT Plugin for %{name}
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
@ -311,6 +318,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
|
|
||||||
%description plugin-mqtt
|
%description plugin-mqtt
|
||||||
Optional %{name} plugin to send and receive MQTT messages.
|
Optional %{name} plugin to send and receive MQTT messages.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package plugin-pinba
|
%package plugin-pinba
|
||||||
Summary: Pinba Collector Plugin for %{name}
|
Summary: Pinba Collector Plugin for %{name}
|
||||||
@ -483,7 +491,12 @@ Requires: %{name}-plugin-logparser = %{version}-%{release}
|
|||||||
Requires: %{name}-plugin-lua = %{version}-%{release}
|
Requires: %{name}-plugin-lua = %{version}-%{release}
|
||||||
Requires: %{name}-plugin-mcelog = %{version}-%{release}
|
Requires: %{name}-plugin-mcelog = %{version}-%{release}
|
||||||
Requires: %{name}-plugin-memcachec = %{version}-%{release}
|
Requires: %{name}-plugin-memcachec = %{version}-%{release}
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
Requires: %{name}-plugin-modbus = %{version}-%{release}
|
||||||
|
%endif
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
Requires: %{name}-plugin-mqtt = %{version}-%{release}
|
Requires: %{name}-plugin-mqtt = %{version}-%{release}
|
||||||
|
%endif
|
||||||
Requires: %{name}-plugin-mysql = %{version}-%{release}
|
Requires: %{name}-plugin-mysql = %{version}-%{release}
|
||||||
Requires: %{name}-plugin-notify-desktop = %{version}-%{release}
|
Requires: %{name}-plugin-notify-desktop = %{version}-%{release}
|
||||||
Requires: %{name}-plugin-openldap = %{version}-%{release}
|
Requires: %{name}-plugin-openldap = %{version}-%{release}
|
||||||
@ -817,13 +830,17 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
|||||||
%{_libdir}/collectd/memcachec.so
|
%{_libdir}/collectd/memcachec.so
|
||||||
%{_libdir}/collectd/memcachec.la
|
%{_libdir}/collectd/memcachec.la
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%files plugin-modbus
|
%files plugin-modbus
|
||||||
%{_libdir}/collectd/modbus.so
|
%{_libdir}/collectd/modbus.so
|
||||||
%{_libdir}/collectd/modbus.la
|
%{_libdir}/collectd/modbus.la
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?is_opensuse}
|
||||||
%files plugin-mqtt
|
%files plugin-mqtt
|
||||||
%{_libdir}/collectd/mqtt.so
|
%{_libdir}/collectd/mqtt.so
|
||||||
%{_libdir}/collectd/mqtt.la
|
%{_libdir}/collectd/mqtt.la
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
%if 0%{?sle_version} < 150000 || 0%{?is_opensuse}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user