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

Re: question on "Requires"



Hello,

  What I want to do is like this.

The RedHat 7.2 kernel RPM comes with:

kernel-2.4.7-10.i386.rpm
kernel-2.4.7-10.i586.rpm
kernel-2.4.7-10.i686.rpm

I want to setup dependency so that my xyz.i686.rpm will fail to install
on a system if kernel-2.4.7-10.i686.rpm _is_not_ installed.

Can this be done?

TIA.

- Joe


On Thu, 2002-05-02 at 21:18, Jeff Johnson wrote:
> On Thu, May 02, 2002 at 10:37:32AM +0800, Joe Wong wrote:
> > Hello,
> > 
> >   Is it possible to set requires package xyz built with certain
> > architecture only?
> 
> Here's an alpha-only dependency in a spec file:
> 
> 	%ifarch alpha
> 	Requires: bash
> 	%endif
> 
> 73 de Jeff
> 
> -- 
> Jeff Johnson	ARS N3NPQ
> jbj@redhat.com (jbj@jbj.org)
> Chapel Hill, NC
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list






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