Lintian tag: debian-watch-mangles-debian-version-improperly

Type: information

Description (from lintian-explain-tags)

The version of this package contains dfsg, ds, or debian, but a misleading
upstream version mangling occurs in the debian/watch file. Since the dfsg
string is not part of the upstream version and its addition is
Debian-specific, the debian/watch file should use the dversionmangle
option to remove, instead of adding in uversionmangle, the dfsg before
comparing version numbers.

Please refer to https://wiki.debian.org/DEHS for details.

Visibility: info
Show-Always: no
Check: debian/watch
Renamed from: debian-watch-file-should-dversionmangle-not-uversionmangle

Affected packages

source version binary level tag count information
cc-cedict 0.0~repack20251202-1 information debian-watch-mangles-debian-version-improperly 1 opts="uversionmangle=s/.*/0.0~repack20251202/" https://www.mdbg.net/chinese/dictionary?page=cedict export/cedict/cedict_(.*)_ts_utf-8.*[.]zip [debian/watch:7]
gnustep-netclasses 1.06.dfsg+really1.1.0-3 information debian-watch-mangles-debian-version-improperly 1 opts=uversionmangle=s/^/1\.06\.dfsg\+really/ https://savannah.nongnu.org/download/gap/netclasses-@ANY_VERSION@\.tar\.gz [debian/watch:9]
ruby-distribution 0.8.0+dfsg-1 information debian-watch-mangles-debian-version-improperly 1 opts=uversionmangle=s/$/+dfsg/ https://gemwatch.debian.net/distribution .*/distribution-(.*).tar.gz [debian/watch:3]
ruby-enumerable-statistics 2.0.8+dfsg-1 information debian-watch-mangles-debian-version-improperly 1 opts=uversionmangle=s/$/+dfsg/ https://github.com/red-data-tools/enumerable-statistics/tags .*/v?(\d.*)@ARCHIVE_EXT@ [debian/watch:3]
zeekctl 2.2.0+ds1-2 information debian-watch-mangles-debian-version-improperly 1 opts=pgpsigurlmangle=s/$/.asc/,dversionmangle=s/\+dfsg\d*$//,uversionmangle=s/$/+ds1/ https://download.zeek.org/ (?:bro|zeek)ctl-(\d.*)\.tar\.gz [debian/watch:5]