Fix RPM warnings.

Fixes #5193