Yeah, you can. The functionality is called "services". I'm not sure how auto-versioning would work with git though. I have packages building from SVN, and OBS updates the spec file automagically to set the version to the SVN revision.
it will take the nearest tag name and use that as the version with the number of commits from that tag as the release value.