Bunch of fixes and cleanups to appease rpmlint of warnings and errors.