[packaging] Avoid referring to upstream version in .spec

Build fails if version generated by obs has some added details.