Hello,
On Fri, 28 Nov 2008 17:17:05 +0100, Frank Lichtenheld <[EMAIL PROTECTED]>
wrote:
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.
That's posibble, but I think the check is stupid. I don't want to make the
regexp more specific, because I sometimes make packages versioned like
"20081031+other_stuff+dfsg-1" and I want uscan to work on this too. It
would probably be possible to silence the check by
s/\+.*(?!dfsg)$//
which would totally defeat the purpose of the check.
Regards
Jiri Palecek
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]