Add check(), drop prepare(). While at it change to ::noarch for subpackages (instead of arch="noarch")