Making midnight commander understand old and new RPM formats

If you are an avid fan of midnight commander (like me) and you happen to inspect RPM files from time to time (like me too), you may have been irritated by a change in the RPM format.

In the past the payload of the RPM package was a simple cpio file. You could use the rpm2cpio tool to extract the cpio payload from the RPM or simply open it using midnight commander.