From a26a2b4bff165cbf2ec9ad60be227f13c5f8a38c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Jul 2018 13:44:19 +0200 Subject: Rewrite debian/watch for gitlab --- debian/changelog | 4 +++- debian/watch | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 682e95d..2b441a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ sane-backends (1.0.27-1~experimental6) experimental; urgency=medium * Refresh symbols file for sparc64. + * Rewrite debian/watch for gitlab (Thanks to + Sebastiaan Couwenberg ). - -- Jörg Frings-Fürst Sun, 08 Jul 2018 07:23:09 +0200 + -- Jörg Frings-Fürst Sun, 08 Jul 2018 13:43:56 +0200 sane-backends (1.0.27-1~experimental5) experimental; urgency=medium diff --git a/debian/watch b/debian/watch index 2207322..a3e79c0 100644 --- a/debian/watch +++ b/debian/watch @@ -2,4 +2,8 @@ # watch file for sane-backends # version=4 -https://alioth.debian.org/frs/?group_id=30186 .*/sane-backends-(.*).(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) +opts=\ +dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \ +https://gitlab.com/sane-project/backends/tags \ +(?:.*?/)?(?:rel|v|sane-backends)[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) -- cgit v1.2.3