compile: Handle git tags of the form v1.0.0

Don't require that the RPM release string be in the tag name.