summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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)))