A few small issue found during RPM package build

I build one myself. and our package check found those issues. Thought I would clarify them with upstream.