Skip Menu |

This queue is for tickets about the Parse-Debian-PackageDesc CPAN distribution.

Report information
The Basics
Id: 58052
Status: resolved
Priority: 0/
Queue: Parse-Debian-PackageDesc

People
Owner: Nobody in particular
Requestors: ANSGAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Wrong assumptions about upstream version
Hi, upstream_version assumes that the upstream version must not contain a dash ("-"). This is not correct as stated in the Debian Policy [1]. There might also be an epoch before the upstream version. Regards, Ansgar [1] http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f- Version PS: Dpkg::Control (only in Debian, libdpkg-perl in Squeeze, some other package in Lenny) also looks pretty similar to what you want.
Oh, you're totally right about parsing the version. I've fixed it now, will upload in a minute. About Dpkg::Control, I'm not sure what to do. I wrote this module as a dependency for another module on CPAN, Arepa. I think for now I'll stick to using this module to make sure Arepa (being on CPAN) depends on things available on CPAN. Thanks for the heads up!