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