You will need to replace @VERSION@ in the .spec file.

See travis.sh for an example of a build, though under Travis' Ubuntu image.
