ryanuber/puppet-packagelist — pull request #1 by croomes (2013-01-28 18:04:43+00:00)
Title: Match name and version on partial packagenames

Hi, I started using your module as it suits my requirements quite well. However, I noticed that the pattern matching for name and version on the package name was failing in some cases, like 'abc-package-linux-4.5-2'

This fixes it for me, but there doesn't seem to be any real spec for RPM names so as with most regexp's will fail for someone else.