Handle multiple installed RPMs

RPM lets you install multiple copies of the same package, targeted at
different architectures.  (To let you install both 32-bit and 64-bit
libraries on a 64-bit system, for instance.)  This means that our
version parser needs to be a bit smarter, since there might be multiple
version strings to parse from the output of `rpm -q`.