[semsg] Tidy spec file, fix build requires.
[semsg] Patch build problems on EL7.