1 diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec
2 index 4721d47f..ca9929db 100644
3 --- a/contrib/redhat/collectd.spec
4 +++ b/contrib/redhat/collectd.spec
6 %define with_mbmon 0%{!?_without_mbmon:1}
7 %define with_mcelog 0%{!?_without_mcelog:1}
8 %define with_md 0%{!?_without_md:1}
9 +%define with_mdevents 0%{!?_without_mdevents:1}
10 %define with_memcachec 0%{!?_without_memcachec:1}
11 %define with_memcached 0%{!?_without_memcached:1}
12 %define with_memory 0%{!?_without_memory:1}
14 %define with_notify_nagios 0%{!?_without_notify_nagios:1}
15 %define with_ntpd 0%{!?_without_ntpd:1}
16 %define with_numa 0%{!?_without_numa:1}
17 -%define with_nut 0%{!?_without_nut:1}
18 +%define with_nut 0%{!?_without_nut:0}
19 %define with_olsrd 0%{!?_without_olsrd:1}
20 %define with_openldap 0%{!?_without_openldap:1}
21 %define with_openvpn 0%{!?_without_openvpn:1}
23 %define with_uptime 0%{!?_without_uptime:1}
24 %define with_users 0%{!?_without_users:1}
25 %define with_uuid 0%{!?_without_uuid:1}
26 -%define with_varnish 0%{!?_without_varnish:1}
27 +%define with_varnish 0%{!?_without_varnish:0}
28 %define with_virt 0%{!?_without_virt:1}
29 %define with_vmem 0%{!?_without_vmem:1}
30 %define with_vserver 0%{!?_without_vserver:1}
32 # plugin intel_pmu disabled, requires libjevents
33 %define with_intel_pmu 0%{!?_without_intel_pmu:0}
34 # plugin intel_rdt disabled, requires intel-cmt-cat
35 -%define with_intel_rdt 0%{!?_without_intel_rdt:0}
36 +%define with_intel_rdt 0%{!?_without_intel_rdt:1}
37 # plugin mic disabled, requires Mic
38 %define with_mic 0%{!?_without_mic:0}
39 # plugin netapp disabled, requires libnetapp
40 @@ -643,7 +644,7 @@ The modbus plugin collects values from Modbus/TCP enabled devices
41 Summary: MySQL plugin for collectd
42 Group: System Environment/Daemons
43 Requires: %{name}%{?_isa} = %{version}-%{release}
44 -BuildRequires: mysql-devel
45 +BuildRequires: mariadb-connector-c-devel
47 MySQL querying plugin. This plugin provides data of issued commands, called
48 handlers and database traffic.
49 @@ -1503,6 +1504,12 @@ Collectd utilities
50 %define _with_md --disable-md
54 +%define _with_mdevents --enable-mdevents
56 +%define _with_mdevents --disable-mdevents
60 %define _with_memcachec --enable-memcachec
62 @@ -2117,6 +2124,7 @@ Collectd utilities
66 + --disable-infiniband \
70 @@ -2137,6 +2145,7 @@ Collectd utilities
74 + %{?_with_mdevents} \
78 @@ -2146,6 +2155,7 @@ Collectd utilities
79 %{?_with_multimeter} \
82 + --disable-netstat_udp \
86 @@ -2453,6 +2463,9 @@ fi
88 %{_libdir}/%{name}/md.so
91 +%{_libdir}/%{name}/mdevents.so
94 %{_libdir}/%{name}/memcached.so