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 bba04b5..39a4d50 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=4
-opts=pgpmode=auto https://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-(.+)\.tar\.lz
+opts="pgpmode=auto, uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
+https://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-(.+)\.tar\.lz