[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]