[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: querying for i386 versus x86_64 versions
- From: Luciano Miguel Ferreira Rocha <strange nsk no-ip org>
- To: rpm-list redhat com
- Subject: Re: querying for i386 versus x86_64 versions
- Date: Tue, 14 Mar 2006 22:58:38 +0000
On Tue, Mar 14, 2006 at 02:52:27PM -0800, Marcin Krzysztof Porwit wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I've noticed that on the 64-bit version of Fedora Core 4, when I query
> for certain packages, they show up twice. For example, and
> rpm -q samba-common
> shows that there are two copies of samba-common on the system:
> samba-common-3.0.14a
> samba-common-3.0.14a
> I guessed at the fact that one is an x86_64 version and the other is
> an i386 version, but I haven't been able to find a programmatic way
> of disambiguating this scenario. There don't seem to be flags to --query
> to provide this information, and it is not returned by --info.
rpm -q --qf '%{name}.%{arch}\n' samba-common
>
> On a related note, how do you specify architecture requirements on the
> "Requires:" line? So that if I built my own version of samba, I could
> specify that it requires both
> samba-common-<myversion>.x86_64.rpm
> and
> samba-common-<myversion>.i386.rpm
>
> Any input would be appreciated.
The .arch seems to be understood by most rpm frontend tools. I don't
know about rpm it self (in a spec file), though.
--
lfr
0/0
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]