Brian May <br...@microcomaustralia.com.au> writes: > Are you sure it is correct?
> I am getting (false?) hints that maybe something is wrong: (1) uscan > gives "unrecognised option" warning (but seems to work regardless?): > (sid)r...@aquitard:/home/brian/tree/heimdal/git/heimdal-1.4.0~git20100322.dfsg.2# > uscan --report-status > uscan warning: unrecognised option opts=dversionmangle=s/\.dfsg\.\d+$// > Processing watchfile line for package heimdal... > Newest version on remote site is 1.3.2, local version is > 1.4.0~git20100322.dfsg.2 > heimdal: remote site does not even have current version That's really strange, since it works fine for me: windlord:~/work/debian/heimdal> uscan --verbose --report -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line: opts=dversionmangle=s/[+\.]dfsg(\.\d+)?$//,uversionmangle=s/(rc\d)/~$1/ http://www.h5l.org/dist/src/heimdal-(.*)\.tar\.gz -- Found the following matching hrefs: heimdal-1.0.1.tar.gz heimdal-1.0.2.tar.gz heimdal-1.0.tar.gz heimdal-1.1.tar.gz heimdal-1.2.1.tar.gz heimdal-1.2.tar.gz heimdal-1.3.0.tar.gz heimdal-1.3.1.tar.gz heimdal-1.3.2.tar.gz heimdal-1.3.2rc2.tar.gz heimdal-1.3.2rc3.tar.gz heimdal-1.3.2rc4.tar.gz Newest version on remote site is 1.3.2, local version is 1.3.2+dfsg (mangled local version number 1.3.2) => Package is up to date -- Scan finished > (2) lintian says: > W: heimdal source: debian-watch-file-should-mangle-version line 3 > N: > N: The version of this package contains dfsg, ds, or debian, which > N: normally indicates that the upstream source has been repackaged to > N: comply with the Debian Free Software Guidelines (or similar reason), > N: but there is no version mangling in the debian/watch file. Since the > N: dfsg string is not part of the upstream version, the debian/watch file > N: should use the dversionmangle option to remove the dfsg before version > N: number comparison. This means that Lintian isn't seeing the dversionmangle option at all. The watch file that I'm using is: version=3 opts=dversionmangle=s/[+\.]dfsg(\.\d+)?$//,uversionmangle=s/(rc\d)/~$1/ \ http://www.h5l.org/dist/src/heimdal-(.*)\.tar\.gz and I'm getting neither that Lintian warning nor the error from uscan that you're getting. This is a slightly different regex for dversionmangle since our local package uses a different naming scheme, but not in a way that should matter for this. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org