small fix for spec files.
use yum-builddep instead of parsing spec file myself.
trying to log errors to logfile