summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 19:10:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 19:10:24 +0000
commit1095a31f1a208c566148ff7d64ed5e593e97e670 (patch)
tree8304a325e360f55ac57736398c0b27e1acb076de
parentReleasing debian version 1.10-2. (diff)
downloadpdlzip-1095a31f1a208c566148ff7d64ed5e593e97e670.tar.xz
pdlzip-1095a31f1a208c566148ff7d64ed5e593e97e670.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 1c3a75e..147a9c5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=4
-opts=pgpmode=auto https://download.savannah.gnu.org/releases/lzip/pdlzip/pdlzip-(.+)\.tar\.lz
+opts="pgpmode=auto, uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
+https://download.savannah.gnu.org/releases/lzip/pdlzip/pdlzip-(.+)\.tar\.lz