summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 19:11:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-03 19:11:40 +0000
commit87678c2f4238a7c61cddf1bc8babcfcc3c5d77ba (patch)
treef566266679f4cf0a2d34b7c310212ef221c49281
parentReleasing debian version 1.8-2. (diff)
downloadzutils-87678c2f4238a7c61cddf1bc8babcfcc3c5d77ba.tar.xz
zutils-87678c2f4238a7c61cddf1bc8babcfcc3c5d77ba.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 fc931ae..3ae0cf0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=4
-opts=pgpmode=auto https://download.savannah.gnu.org/releases/zutils/zutils-(.+)\.tar\.lz
+opts="pgpmode=auto, uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
+https://download.savannah.gnu.org/releases/zutils/zutils-(.+)\.tar\.lz