collectd.spec: disable plugins on older distro
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 11:26:06 +0000 (13:26 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 13:16:33 +0000 (15:16 +0200)
commit2486071c97544af5d5826c329c3d9ddcbb16c3dd
treeaf75c6b7b2bda67b5ecc869e32ee0903bb471a54
parentcd5602386cf810ade2750bf026e5fe340765ce05
collectd.spec: disable plugins on older distro

Instead of keeping a list per RHEL version of which plugins to enable,
invert the logic and keep a list of plugins to disable when the distro
is too old. This way we only have to specify a plugin once, and this
also opens up the possibility to build on Fedora.
contrib/redhat/collectd.spec