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

Re: SPEC: How to specify package ARCH for REQUIRES?



On Fri, Sep 16, 2005 at 11:36:48AM +0200, Christian Rohrmeier SCHERING DE wrote:

> [root xxx os]# rpm -qp libstdc++-3.2.3-52.i386.rpm
> libstdc++-3.2.3-52
> [root xxx os]# rpm -qp libstdc++-3.2.3-52.x86_64.rpm
> libstdc++-3.2.3-52

Just do:

rpm -qp --qf '%name}-%{version}-%{release}.%{arch}\n' ...

> RPM evidently isn't able to destinguish between the two. They are
> identical!

No, they are not, and rpm knows about it, see above.

> Hence: How do I specify in the REQUIRES section of an RPM SPEC file which
> achitecture of  a depency is to be installed when there is one package with
> two or more different architctures available?

Unfortunately I do not know the answer (but I'm curious to know ;-)).

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


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