Hi, 

On Fri Apr 09, 2010 at 10:46:24 +0200, Christian Marillat wrote:
> Martin Zobel-Helas <[email protected]> writes:
> 
> [...]
> 
> > This seems to happen due to the "_" in the version number
> > (version_compare from Dpkg::Version, called by Devscripts::Versort). I
> > have currently no time to investigate any further.
> 
> Yes, the use of Dpkg::Version is a bad idea, because _ in version number
> aren't allowed by Debian and thus rejected here.

Debian Policy says about this:

| upstream_version:
| 
| This is the main part of the version number. It is usually the version
| number of the original ("upstream") package from which the .deb file has
| been made, if this is applicable. Usually this will be in the same
| format as that specified by the upstream author(s); however, it may need
| to be reformatted to fit into the package management system's format and
| comparison scheme.
| 
| The comparison behavior of the package management system with respect to
| the upstream_version is described below. The upstream_version portion of
| the version number is mandatory.
| 
| The upstream_version may contain only alphanumerics[32] and the
| characters . + - : ~ (full stop, plus, hyphen, colon, tilde) and should
| start with a digit. If there is no debian_revision then hyphens are not
| allowed; if there is no epoch then colons are not allowed.

so yes, maybe we should not use Dpkg::Version for comparing it.

Greetings
Martin
-- 
 Martin Zobel-Helas <[email protected]>  | Debian System Administrator
 Debian & GNU/Linux Developer           |           Debian Listmaster
 Public key http://zobel.ftbfs.de/5d64f870.asc   -   KeyID: 5D64 F870
 GPG Fingerprint:  5DB3 1301 375A A50F 07E7  302F 493E FB8E 5D64 F870





-- 
To unsubscribe, send mail to [email protected].

Reply via email to