Service "set_version" stopped to work for our project

In the _service file of the project

I use the tag <service name=“set_version”/> to set the version in the spec-file of a Github-repository to the according git version. The spec-file is here:

The resulting spec-file (with the version set by OBS):

Obviously, this leads to an build error because of the missing version in line 21 (the version is inserted below instead of next to "Version: "). This problem occurred first a couple of months ago, it worked fine before. I would be grateful for any ideas how to resolve this issue.

Alternatively, can anybody point me to a project on OBS which successfully uses <service name=“set_version”/>? Having a look at a working example would definitely help me.