[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?



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



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