[Centos] Change your default rpm query format on multi-lib archs (like x86_64)
Johnny Hughes
mailing-lists at hughesjr.com
Wed Jan 12 01:59:17 UTC 2005
On Wed, 2005-01-12 at 00:40 +0000, Lance Davis wrote:
> On Tue, 11 Jan 2005, Johnny Hughes wrote:
>
> > To fix this problem on multi-lib machines (and change the default query
> > format), you can change your .rpmmacros (or create a .rpmmacros) in your
> > user home directory and add this line:
> >
> > %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
>
>
> Wouldnt it make sense for that to be standard on multi-arch releases ???
>
> Or would it break something else ??
I had to rewrite some local scripts that I had written that don't expect
there to be a .arch in rpm -qa ... so it might break some things.
More information about the CentOS
mailing list