Code

Allow for conditional compilation of plugins
authorRuben Kerkhof <ruben@tilaa.nl>
Sun, 18 Nov 2012 14:56:31 +0000 (15:56 +0100)
committerRuben Kerkhof <ruben@tilaa.nl>
Sun, 18 Nov 2012 14:56:31 +0000 (15:56 +0100)
commit8aad25c7472224e1c76cfc2b40403aea1a93ca13
tree78973047a6f7cbb673a3881d9993289dab2fe8e0
parent2454e4800d433b95670be60b2356575e2f3cd71e
Allow for conditional compilation of plugins

To enable/disable a plugin you can toggle the
%define for that plugin at the top of the specfile.
You can also pass the plugin as argument to rpmbuild,
for example:
rpmbuild -ba --without rrdtool
or:
rpmbuild -ba --with rrdcached
contrib/redhat/collectd.spec