summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/watch3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index 47bb811..afdfb32 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=4
-opts=pgpmode=auto https://download.savannah.gnu.org/releases/lzip/tarlz/tarlz-(.+)\.tar\.lz
+opts="pgpmode=auto, uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
+https://download.savannah.gnu.org/releases/lzip/tarlz/tarlz-(.+)\.tar\.lz