default rpm query format on x86_64

Panu Matilainen pmatilai at
Tue Jun 28 18:39:06 UTC 2005

On Tue, 2005-06-28 at 11:14 -0400, seth vidal wrote:
> On Tue, 2005-06-28 at 08:10 -0700, Shahms King wrote:
> > Hash: SHA1
> > 
> > The default rpm query format of %{name}-%{version}-%{release} is less
> > than optimal on x86_64 where the x86_64 and i386 versions of some
> > packages are installed.  I've modified my local rpm macros by creating
> > "/etc/rpm/macros.local" with:
> > %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> > 
> > which solves the problem on my computer, but has any thought been given
> > to making this the default, at least on x86_64 (or other multi-lib archs)?
> > 
> will break A LOT of scripts and other items if you do.

Sure it'll break a lot of things, but that breakage is trivial to fix in
scripts by specifying alternative queryformat. Dunno if there are
commercial non-OSS applications parsing rpm default output but frankly I
don't care if they break. OTOH, <shrug>.

	- Panu -

More information about the devel mailing list