[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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:

   dpkg --compare-versions 1 eq 1-0 && echo equal
   equal

This is similar to #186700 (but not the same, although feel free to
merge them)

The actual behaviour (including things like 1.2.3-0~0) is consistent
with an empty debian_revision being set to 0, as with the epoch and I
think policy should be updated to match.

Matt

Attachment: signature.asc
Description: Digital signature


Reply to: