summaryrefslogtreecommitdiffstats
path: root/tags/d/debian-watch-mangles-debian-version-improperly.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/debian-watch-mangles-debian-version-improperly.tag')
-rw-r--r--tags/d/debian-watch-mangles-debian-version-improperly.tag12
1 files changed, 12 insertions, 0 deletions
diff --git a/tags/d/debian-watch-mangles-debian-version-improperly.tag b/tags/d/debian-watch-mangles-debian-version-improperly.tag
new file mode 100644
index 0000000..734bda2
--- /dev/null
+++ b/tags/d/debian-watch-mangles-debian-version-improperly.tag
@@ -0,0 +1,12 @@
+Tag: debian-watch-mangles-debian-version-improperly
+Severity: info
+Check: debian/watch
+Renamed-From: debian-watch-file-should-dversionmangle-not-uversionmangle
+See-Also: https://wiki.debian.org/DEHS
+Explanation: The version of this package contains <code>dfsg</code>, <code>ds</code>,
+ or <code>debian</code>, but a misleading upstream version mangling occurs in
+ the <code>debian/watch</code> file. Since the <code>dfsg</code> string is not
+ part of the upstream version and its addition is Debian-specific, the
+ <code>debian/watch</code> file should use the dversionmangle option to
+ remove, instead of adding in uversionmangle, the <code>dfsg</code> before
+ comparing version numbers.