rpm: Add support for Mageia / urpmi.

This was originally added by Joseph Wang.