Re: default rpm query format on x86_64

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

 



On Tue, 2005-06-28 at 08:10 -0700, Shahms King wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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)?

Add the following to ~/.popt

rpm alias --nvra --qf "%{n}-%{v}-%{r}.%{arch}\n"

and then rpm -q --nvra will do what you want, without breaking random
scripts.

-- 
Nicholas Miell <nmiell@xxxxxxxxxxx>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://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