Wrong deb package version (missing zero)

Bug #1420259 reported by vangelis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
liblingua-en-number-isordinal-perl (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi

It seems the perl module package version is 0.04: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/liblingua-en-number-isordinal-perl/trusty/view/head:/lib/Lingua/EN/Number/IsOrdinal.pm#L6

whereas the deb package version is 0.4

# grep VERSION /usr/share/perl5/Lingua/EN/Number/IsOrdinal.pm
  $Lingua::EN::Number::IsOrdinal::VERSION = '0.04';

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

# grep VERSION /usr/share/perl5/Lingua/EN/Number/IsOrdinal.pm
  $Lingua::EN::Number::IsOrdinal::VERSION = '0.04';

# apt-cache show liblingua-en-number-isordinal-perl | grep Version
Version: 0.4-1

Revision history for this message
gregor herrmann (gregoa) wrote : Re: [Pkg-perl-maintainers] [Bug 1420259] [NEW] Wrong deb package version (missing zero)

On Tue, 10 Feb 2015 12:02:23 -0000, vangelis wrote:

> It seems the perl module package version is 0.04:
> http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/liblingua-en-number-isordinal-perl/trusty/view/head:/lib/Lingua/EN/Number/IsOrdinal.pm#L6
> whereas the deb package version is 0.4

The same is true for a couple of other packages.
(It least initially, after the first upgrade they are "fixed".)

The reason is that dh-make-perl was a bit over-enthusiatic in
massaging upstream versions; this behaviour was changed in commit
https://anonscm.debian.org/cgit/pkg-perl/packages/dh-make-perl.git/commit/?id=f21a54b8a64578817d5e2036eef2ae4518361575
which was first released in 0.77-1.

From a practical point of view, I'm not aware of any problem this
version mangling causes. dpkg doesn't care:

% dpkg --compare-versions 0.04 eq 0.4 && echo equal
equal

and we also never found other issues. So while this is unnecessary
and aesthetically inconvenient I don't consider this an actual bug.

Cheers,
gregor

--
 .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `- BOFH excuse #344: Network failure - call NBC

Revision history for this message
vangelis (vkatsikaros) wrote :

Hi gregor

Yes, it didn't caused any problems here either, I just noticed that and reported it. Didn't know it was a more genereic (dh-make-perl) issue.

Thanks!

Changed in liblingua-en-number-isordinal-perl (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.