I've forgotten: how do you set rpm to show arch?
Alexander Dalloz
ad+lists at uni-x.org
Sun Dec 24 00:14:03 UTC 2006
sean schrieb:
> On another machine, I have it set up so that any user sees the arch on
> a rpm query.
>
> i.e:
>
> rpm -q gimp
> gimp-2.2.13-1.fc6.x86_64
>
> How did I do that? I assume I meesed with something in /usr/lib/rpm.
>
> But what??
>
> sean
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). Else
echo "%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}" >>
~/.rpmmacros
for per user setting.
Cheers
Alexander
More information about the test
mailing list