Changing the rpm default queryformat to include arch

Mike A. Harris mharris at mharris.ca
Fri Nov 23 15:04:20 UTC 2007


Panu Matilainen wrote:
> 
> To put it shortly, I going to switch the default rpm queryformat to 
> include package architecture (ie what you get now with
> rpm -q --qf "%{name}-%{version}-%{release}.%{arch}\n") in a few days or so.
> 
> This is something that should've been done several releases ago really, 
> but since it presumably breaks all sorts of scripts people have it's 
> gotten delayed and delayed... The next major rpm.org release changes the 
> default anyway, this is just an initial step to see what breaks.
> 
> If you know the change would break some of the buildsystem / other 
> critical Fedora infrastructure, please holler NOW! I can delay the 
> change a bit to allow critical pieces to be fixed first, but F9 *will* 
> have the new queryformat so better prepare for it...
> 
> Fixing any scripts that absolutely rely on the old default is trivial: 
> just them use explicit --qf "%{name}-%{version}-%{release}"

My faith in the Flying Spaghetti Monster has paid off.  My prayers have 
finally been answered!



-- 
Mike A. Harris

Come and join us on the #fedora8 IRC help forum on irc.freenode.net




More information about the fedora-devel-list mailing list