rpm: various spec file fixes (backport r10044:10106 from main)

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/resiprocate-1.8@10107 ddefafc4-47db-0310-ae44-fa13212b10f2