Bug#186700: debian-policy: Ch. 4: Not clear what to do with empty debian revision
Package: debian-policy
Version: 3.5.9.0
Severity: minor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Policy seems to say that:
1 << 1- ("The absence of a debian_revision compares earlier than
the presence of one")
However, dpkg thinks they are equal.
1-, according to the policy manual, should be broken apart at the last
hyphen in the string into an upstream_version of "1" and a debian_revision
of "".
I suggest just adding a note that an empty debian_revision is not
allowed, i.e., there must always be a character after the hyphen. I
think this reflects current practice.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+hVDS+z+IwlXqWf4RAhGBAJ9F+Uhk7k4Cvas9xrRdlTWUBGG1HgCZAdN2
WqOZUfnCu2fHI/lN9c0jvgo=
=Tg68
-----END PGP SIGNATURE-----
Reply to: