minor rpm fixes #869