Dependency of RPM and package (multi version for same package)

James Antill james at fedoraproject.org
Thu Mar 4 14:08:57 UTC 2010


On Thu, 2010-03-04 at 17:18 +0800, Huo QiFeng wrote: 
> On Wed, Mar 3, 2010 at 8:03 PM, devzero2000 <pinto.elia at gmail.com>
> wrote:
>         On Wed, Feb 24, 2010 at 8:08 AM, Huo QiFeng
>         <huoqifeng at gmail.com> wrote:
>                 Hello, 
>                 
>                 I'm creating an addon package A both on SuSe and
>                 Redhat, See A depends on B.
>                 
>                 A depends on 1.0 and 2.0 of B.
>                 
>                 On, For debian package on Ubuntu, I can use: "Depends
>                 B (>=1.0), B (<=2.0)"

>         Requires: B >= 1.0
>         Requires: B <= 2.0

> It works for me for below... Thanks!

 Note that both the dpkg and rpm requirements there say "A depends on a
version of B that is between version 1.0 and 2.0, inclusive". This is
not what you asked for, but maybe what you want.




More information about the Rpm-list mailing list