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

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

 



On Fri, Sep 16, 2005 at 11:36:48AM +0200, Christian.Rohrmeier@xxxxxxxxxxx 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@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux