summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 19:10:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 19:10:20 +0000
commit2a2965b1a0dc31bf506841e674301d80a8c53493 (patch)
tree0d79dcb1c7dceb3d587ad1811a268987c8e108cc
parentReleasing debian version 1.8-2. (diff)
downloadplzip-2a2965b1a0dc31bf506841e674301d80a8c53493.tar.xz
plzip-2a2965b1a0dc31bf506841e674301d80a8c53493.zip
Improving watch file.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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