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

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

 



Hi,

thanks for the suggestion.

Would this then work???

Requires: make, gcc, gcc-c++, libstdc++.so.5()(32bit),
libstdc++.a()(64bit), libstdc++.so.5()(64bit), libresolv.so()(64bit),
libc.so.6()(32bit), libgnome.so.32()(32bit),

I used rpm -ql to pull out arbitrary libraries from the packages I want,
and specified those instead. I haven't tried to build the RPM yet (still
looking at file lists with rpm -ql.) I have to say though, that this is an
extremely tedious way to specify which dependencies I want in an RPM!!

-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


                                                                           
             Paul Nasrat                                                   
             <pnasrat@xxxxxxxx                                             
             om>                                                        To 
             Sent by:                  RPM Package Manager                 
             rpm-list-bounces@         <rpm-list@xxxxxxxxxx>               
             redhat.com                                                 cc 
                                                                           
                                                                   Subject 
             16.09.2005 15:38          Re: SPEC: How to specify package    
                                       ARCH for REQUIRES?                  
                                                                           
             Please respond to                                             
                RPM Package                                                
                  Manager                                                  
             <rpm-list@redhat.                                             
                   com>                                                    
                                                                           
                                                                           




On Fri, 2005-09-16 at 11:36 +0200, Christian.Rohrmeier@xxxxxxxxxxx
wrote:
> Hallo All,
>
> OS: RHEL 3 AS
> Arch: X86_64

> More Detailed Information:
> I am trying to make a virtual package that, when installed, brings in a
> number of other packages. The packages are requirements for some other
> software: Oracle has specified that the following packages need to be
> installed:

For most cases in packages library requirements are picked up
automatically and marked correctly:

eg:

libstdc++.so.6
libstdc++.so.6()(64bit)

> make
> gcc.x86_64
> gcc-c++.x86_64
> libstdc++.i386
> libstdc++.x86_64
> etc.

Require the library provides from said package in your virtual package,
as if they'd been created automatically using the (64bit) style eg:

Requires: libstdc++.so.6()(64bit)
Requires: libstdc++.so.6

For gcc you could do:

Requires: /usr/bin/x86_64-redhat-linux-gcc

> then, using Yum for example, or APT, or whatever, the package won't
install
> because there is no such package "libstdc++.i386" for example.

Yes Requires has no ".arch" concept.  Library and file requires will get
you where you need to be.

Paul

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



_______________________________________________
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