Fix RPM packages.

Fixes #5738