Josselin Mouette <j...@debian.org> writes: > Dmitrii Kashin <d.kas...@solarsecurity.ru> wrote: >> The main thing is we can describe dependency as `pkg (= "2.0")' and yum will >> install package `pkg' of version "2.0" with the maximum revision >> found. And also we can write dependency specifically with revision, >> f.e. `pkg (= "2.0-43")' and yum will install specifically "2.0-43". > >> Well, now I'm trying to repack one project (my job) from centos to >> debian. And I wonder what would be the most correct way for such kind of >> dependencies. >> >> 1) I could not write dependency operator at all. >> 2) I could write >= and version (f.e. "2.0") > > You can write, for example: > Depends: pkg (>= 2.0), pkg (<= 2.0.~)
That (<= 2.0.~) should have been (<< 3.0~) Cheers, Phil. -- |)| Philip Hands [+44 (0)20 8530 9560] HANDS.COM Ltd. |-| http://www.hands.com/ http://ftp.uk.debian.org/ |(| Hugo-Klemm-Strasse 34, 21075 Hamburg, GERMANY
signature.asc
Description: PGP signature