summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-07-08 13:44:19 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-07-08 13:44:19 +0200
commita26a2b4bff165cbf2ec9ad60be227f13c5f8a38c (patch)
treee0dda287534fb7cb6855c17c5c6b4268c8921e75 /debian
parent38e3ad3f3688a2633d3abb8a1415e4a812ca2294 (diff)
Rewrite debian/watch for gitlab
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog4
-rw-r--r--debian/watch6
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 <sebastic@xs4all.nl>).
- -- Jörg Frings-Fürst <debian@jff.email> Sun, 08 Jul 2018 07:23:09 +0200
+ -- Jörg Frings-Fürst <debian@jff.email> 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)))