RPM

Comment 2 for bug 638598

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

Retrofit displaying arch in default query format by
putting this macro into into /etc/rpm/macros:

#
# Default headerSprintf() output format string for rpm -qa
#
# XXX Note: escaped %% for use in headerSprintf()
%_query_all_fmt %%{name}-%%{version}-%%{release}%%|arch?{.%%{arch}}:{}|

Yes its is already the default in rpm.

Append ".x86_64" or ".i386" to the query/verify args to distinguish.