SPECS: collectd.spec - added curl, libesmtp, mysql, notify, ping, psql, rrd...

Elan Ruusamäe glen at pld-linux.org
Mon Mar 30 13:15:27 CEST 2009


On Monday 30 March 2009 04:02:20 gotar wrote:
> -%module_scripts rrdtool
> -%module_scripts sensors
> +%{?with_rrd:%module_scripts rrdtool}
> +%{?with_sensors:%module_scripts sensors}

why are you making %post scriptlets conditional?

to disable package build ONLY %files section should be made conditional, 
nothing else.

-- 
glen


More information about the pld-devel-en mailing list