Bug#458910: debian-policy: Policy and dpkg disagree on debian revision tests.

2008-04-30 Thread Guillem Jover
Hi, On Sun, 2008-04-27 at 19:04:44 -0700, Russ Allbery wrote: > Here is a proposed patch that also clarifies the comparison of version > numbers a bit. Seconds? > > diff --git a/policy.sgml b/policy.sgml > index 1c9a339..b7ac92e 100644 > --- a/policy.sgml > +++ b/policy.sgml > @@ -2877,19 +2877,

Bug#458910: debian-policy: Policy and dpkg disagree on debian revision tests.

2008-04-29 Thread Raphael Hertzog
On Sun, 27 Apr 2008, Russ Allbery wrote: > Here is a proposed patch that also clarifies the comparison of version > numbers a bit. Seconds? Seconded. Looks fine. -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/ signature.asc De

Bug#458910: debian-policy: Policy and dpkg disagree on debian revision tests.

2008-04-27 Thread Russ Allbery
Raphael Hertzog <[EMAIL PROTECTED]> writes: > I confirm that the implementation in dpkg is done in such a way that the > lack of revision is the same than a revision set to "0". Exactly like > the lack of epoch is equal to an epoch of 0. > > Maybe we should say "the absence of a debian_revision c

Bug#458910: debian-policy: Policy and dpkg disagree on debian revision tests.

2008-03-18 Thread Raphael Hertzog
Hi, On Thu, 03 Jan 2008, Matthew Johnson wrote: > Policy 5.6.12 states: > >The absence of a debian_revision compares earlier than the presence >of one > > However, dpkg tests return: > >dpkg --compare-versions 1 eq 1-0 && echo equal >equal I confirm that the implementation in d

Bug#458910: debian-policy: Policy and dpkg disagree on debian revision tests.

2008-01-03 Thread Matthew Johnson
Subject: debian-policy: Policy and dpkg disagree on debian revision tests. Package: debian-policy Severity: normal *** Please type your report below this line *** Policy 5.6.12 states: The absence of a debian_revision compares earlier than the presence of one However, dpkg tests return: