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

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

 



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


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]