[dist] sync up spec file with OBS

taken from https://build.opensuse.org/package/revisions/OBS:Server:Unstable/obs-server
from version 208