New: added syntax check to install and spec

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>