tools: Define gitcommit for our work in progress srpms spec file

This way builders like Coverity and such can take the resulting
srpm and build it without special extra defines or flags.

Closes #1484