FWIW, they do on Fedora and CentOS 5. Take a look at:
repoquery --all --qf '%{name}' | grep '\.'
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cogito cogito ergo cogito sum --
I think that I think, therefore I think that I am.
-- Ambrose Bierce, "The Devil's Dictionary"
It's been a very long time that I had to deal with up2date ... if it has
any options to set the query format (similar to rpm --qf), you could
make that safer by using a query format that clearly separates arch
from package NVR.
Barring that, you can also makes that safer by checking only for known
arch suffixes (e.g. i?86, x86_64, noarch) instead of taking everything
after the last '.'
David
There are at least openoffice.org packages with a dot in the filename, and
this is what caused me most grief when I was trying to write a parser which
could handle all of the outputs of different versions of yum for the yum
handler - it can't be done easily.
--
Regards,
Oliver Hookins
Anchor Systems