On Mar 14, 2006, at 6:48 PM, Dan Hollis wrote:
On Tue, 14 Mar 2006, Jeff Johnson wrote:
On Mar 14, 2006, at 6:16 PM, Dan Hollis wrote:
Maybe available with someting like -qx ? x being xtended format.
so you can easily type
rpm -qax
instead of
rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'
This is the *default* setting for the query format string for
quite some months now:
#
# Default headerSprintf() output format string for rpm -qa
#
# XXX Note: escaped %% for use in headerSprintf()
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
In fedora core 4?
I've forgotten what is in FC4, but you are far from the first to
point out the problem.
Try
strings /usr/lib/librpm-4*.so | grep query_all_fmt
If the string is there, put in /etc/rpm/macros:
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
and be happy.
73 de Jeff
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list