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

Huo QiFeng huoqifeng at gmail.com
Thu Mar 4 09:18:07 UTC 2010


It works for me for below... Thanks!

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

////////////////////////////////////////////////////////////


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)"*
>>
>> Do you know how can I implement similar on SuSe for rpm .spec package? It
>> seems which does not work for below sentence.
>> *"Requires: B >= 1.0, B <=2.0"*
>>
> Requires: B >= 1.0
> Requires: B <= 2.0
>
> hth
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>


-- 
Best Regards
------------------------------------------------
Huo QiFeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100304/5c39b958/attachment.htm>


More information about the Rpm-list mailing list