Re: Changing the rpm default queryformat to include arch

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

 



On Wed, 2007-11-21 at 11:55 +0100, Hans de Goede wrote:
> 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}"
> > 
> 
> Excellent then I can finally remove my rpm alias adding that as query format 
> from my .bashrc :)
> 
> Regards,
> 
> Hans
> 
> 

No need to.
Just add %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
To your .rpmmacros.

- Gilboa

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux