[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: SPEC: How to specify package ARCH for REQUIRES?
- From: Christian Rohrmeier SCHERING DE
- To: RPM Package Manager <rpm-list redhat com>
- Cc: RPM Package Manager <rpm-list redhat com>, rpm-list-bounces redhat com
- Subject: Re: SPEC: How to specify package ARCH for REQUIRES?
- Date: Fri, 16 Sep 2005 12:12:00 +0200
Hi,
yeah, you are right: RPM definately knows what Arch the package is for.
Still a mystery as to how define it in the SPEC...
I contemplated something really ugly like: in the %post script, I could use
Yum to install the "dependent" packages! Yum can handle things like
libstdc++.i386 and libstdc++.x86_64. But it seems to be absosmurfly
horrendous to make an RPM that calls a packmanager-front end, like Yum, to
install its own dependencies! =(
-Christian
_________________
Christian Rohrmeier
Schering AG
Corporate IT - Infrastructure and Services
Computer Systems and Operations
System Administration - Research and Development
Tel +49 30 468 15794
Fax +49 30 468 95794
Jos Vos
<jos xos nl>
Sent by: To
rpm-list-bounces@ RPM Package Manager
redhat.com <rpm-list redhat com>
cc
16.09.2005 11:41 Subject
Re: SPEC: How to specify package
ARCH for REQUIRES?
Please respond to
RPM Package
Manager
<rpm-list redhat
com>
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
_______________________________________________
Rpm-list mailing list
Rpm-list redhat com
https://www.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]