Dependency of RPM package (multi version)

Huo QiFeng huoqifeng at gmail.com
Wed Feb 24 09:00:05 UTC 2010


It seems not same question.

My problem is to set an version range of dependency in the spec.
Such as:  *Requires: 1.0 <= B <= 2.0*



On Wed, Feb 24, 2010 at 4:20 PM, devzero2000 <pinto.elia at gmail.com> wrote:

> On Wed, Feb 24, 2010 at 8:20 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"*
>>
> This question was already asked in the past as "boolean dependency". See
> this post if you want to know more
> http://rpm5.org/community/rpm-devel/3089.html
>
> hth
>
>>
>> Thanks for your help!
>>
>> --
>> Best Regards
>> ------------------------------------------------
>> Huo QiFeng
>>
>> _______________________________________________
>> Rpm-list mailing list
>> Rpm-list at lists.rpm.org
>> http://lists.rpm.org/mailman/listinfo/rpm-list
>>
>>
>
> _______________________________________________
> 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/20100224/6ede05d1/attachment.htm>


More information about the Rpm-list mailing list