On Sun, Nov 16, 2008 at 11:21:09AM +0100, Jiří Paleček wrote:
I'm getting a lintian warning an the package ltp:
W: ltp source: debian-watch-file-should-mangle-version
however, the watch file in question actually does mangle the version on
the line
opts=dversionmangle=s/\+.*$// \
http://sf.net/ltp/ltp-full-([0-9]+)\.tgz debian git-import-orig
which correctly changes 20081031+dfsg to 20081031.
I think the check is fooled by your overreaching regex. If you
replace it with s/\+dfsg.*$// it should stop complaining.