What about two separate requires lines, i,e Requires: B >= 1.0 Requires: B <= 2.0 Valery. --- On Wed, 2/24/10, Huo QiFeng <huoqifeng@xxxxxxxxx> wrote: > From: Huo QiFeng <huoqifeng@xxxxxxxxx> > Subject: Re: Dependency of RPM package (multi version) > To: "General discussion about the RPM package manager" <rpm-list@xxxxxxxxxxxxx> > Date: Wednesday, February 24, 2010, 11:00 AM > 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@xxxxxxxxx> > wrote: > > On Wed, Feb 24, 2010 at 8:20 AM, Huo QiFeng <huoqifeng@xxxxxxxxx> > 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@xxxxxxxxxxxxx > > http://lists.rpm.org/mailman/listinfo/rpm-list > > > > > > _______________________________________________ > > Rpm-list mailing list > > Rpm-list@xxxxxxxxxxxxx > > http://lists.rpm.org/mailman/listinfo/rpm-list > > > > > > -- > Best Regards > ------------------------------------------------ > Huo QiFeng > > > -----Inline Attachment Follows----- > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxxxxx > http://lists.rpm.org/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list