[Bash-completion-devel] Patch review needed

Elan Ruusamäe glen at delfi.ee
Mon Sep 21 10:32:50 UTC 2009


On Monday 21 September 2009 00:35:38 Ville Skyttä wrote:
> (and if one wants it to be as complete as
> possible, the format is missing epoch, BTW).

the format is what rpm(1) itself understands. rpm doesn't understand epoch in 
queries:

$ rpm -q glibc
glibc-2.10.1-11.i686
glibc-2.10.1-12.x86_64

$ rpm -q glibc-2.10.1-12.x86_64
glibc-2.10.1-12.x86_64

$ rpm -q --qf '%{N}-%{E}:%{V}-%{R}.%{ARCH}\n' glibc
glibc-6:2.10.1-11.i686
glibc-6:2.10.1-12.x86_64

$ rpm -q --qf '%{N}-%{E}:%{V}-%{R}.%{ARCH}\n' glibc-6:2.10.1-12.x86_64
package glibc-6:2.10.1-12.x86_64 is not installed


-- 
glen



More information about the Bash-completion-devel mailing list