Better error messages

(cherry picked from commit b7e9206c4ec1dfd86663e74e1ad46e0c87172d09)
Increment spec file version