I've forgotten: how do you set rpm to show arch?

Michal Jaegermann michal at harddata.com
Sun Dec 24 02:33:17 UTC 2006


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




More information about the fedora-test-list mailing list