summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-23 22:57:21 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-23 22:57:21 +0200
commita6c51a354ad58bdf8e9a4e827a8ddd99edf6b4d8 (patch)
tree615bdba971fb62ed1e1552bc144e05bd72056ab1 /debian/watch
parentb65a25b4ecd28bb48c19f3c7b71ef16b43da6c0a (diff)
Update watch file: Use substitution strings. Tighten dversionmangle.
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 ecf6a0771..3749b0f4a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
# run "uscan --report" to check or "gpb import-orig --uscan" to update
version=4
-opts="dversionmangle=s/~dfsg.*//,repacksuffix=~dfsg" \
+opts="dversionmangle=s/~dfsg\d*//,repacksuffix=~dfsg" \
https://hackage.haskell.org/package/@PACKAGE@/distro-monitor \
- .*-(\d[\d\.]+)@ARCHIVE_EXT@
+ .*@ANY_VERSION@@ARCHIVE_EXT@