Le Mon, Feb 13, 2012 at 07:51:20AM -0600, Dirk Eddelbuettel a écrit : > > But I guess as your patch is written, with the "r-base-dev (>= $(shell ...)" > we would be ok as we have > > 2.14.0-1 (first release) >= 2.14.0~201110xx-y (rc release)
Dear Dirk, On top of this, the patch produces a version number that ends with a tilde, which is for dpkg a special character that sorts before the empty string. So we will always be safe with pre-releases: $ dpkg --compare-versions 2.13.2-1 lt 2.14.0~ && echo true true $ dpkg --compare-versions 2.14.0~ lt 2.14.0~20111015-1 && echo true true $ dpkg --compare-versions 2.14.0~ lt 2.14.0 && echo true true $ dpkg --compare-versions 2.14.0~ lt 2.14.0-1 && echo true true Have a nice day, -- Charles -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org