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

Bug#485884: lintian: debian-watch-file-should-mangle-version reported with correctly mangled version



Package: lintian
Version: 1.24.0
Severity: normal

Hi,

Today while building a package of mine, I got the
debian-watch-file-should-mangle-version warning from lintian, even when
the debian/watch file is this:

version=3
opts="uversionmangle=s/(?=$)/+dfsg/" \
	http://www.smcc.demon.nl/camstream/download/index.html \
	camstream-(\d.+)\.tar\.gz debian debian/repack.sh

Thinking that lintian was complaining about my use of uversionmangle
instead of dversionmangle, I changed the opts line to:

opts="dversionmangle=s/\+dfsg//" \

But it still complains. I have read the code for the test, but I cannot
see why it fails to detect the mangling.

Uscan agrees that this works correctly:

$ uscan --report
(...)
Newest version on remote site is 0.27, local version is 0.27+dfsg
 (mangled local version number 0.27)
 => Package is up to date

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils            2.18.1~cvs20080103-4 The GNU assembler, linker and bina
ii  diffstat            1.45-2               produces graph of changes introduc
ii  dpkg-dev            1.14.19              package building tools for Debian
ii  file                4.24-2               Determines file type using "magic"
ii  gettext             0.17-2               GNU Internationalization utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
ii  libdigest-sha-perl  5.47-1               Perl extension for SHA-1/224/256/3
ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and output
ii  libtimedate-perl    1.1600-9             Time and date functions for Perl
ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses URI strin
ii  man-db              2.5.2-1              on-line manual pager
ii  perl [libdigest-sha 5.10.0-10            Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information



Reply to: