On Sun, Dec 24, 2006 at 01:14:03AM +0100, Alexander Dalloz wrote:
sean schrieb:
>On another machine, I have it set up so that any user sees the arch on
>a rpm query.
echo "%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}" >>
/usr/lib/rpm/macros
if you really want to set it globally (or adjust the existing
%query_all_fmt entry).
I would rather put that in /etc/rpm/macros.format (or some other
name of your choice); otherwise the next rpm update will clobber
your changes. Or "private" mods in ~/.rpmmacros as suggested.
Michal