summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index c908dd6..6d2edd6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,6 @@
# Compulsory line, this is a version 3 file
version=3
-
-http://codesynthesis.com/download/xsd/(\d+)\.(\d+)/xsd-(\d+)\.(\d+)\.(\d+)-(\d+)\+dep\.tar\.bz2
+opts=dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$// \
+http://codesynthesis.com/download/xsd/(\d+)\.(\d+)/xsd-(\d+)\.(\d+)\.(\d+)[-(\d+)]?\+dep\.tar\.bz2