Update version.  Reformat rpm version.

Compute rpm version so that sorting by version will work properly.