summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--debian/watch7
2 files changed, 12 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 4d88084..5c39fbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libonig (6.9.1-2) UNRELEASED; urgency=medium
+
+ * Rewrite debain/watch.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Fri, 12 Jul 2019 09:15:25 +0200
+
libonig (6.9.1-1) unstable; urgency=medium
* New upstream release:
diff --git a/debian/watch b/debian/watch
index c6c26be..8a7b475 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,7 @@
version=4
-https://github.com/kkos/oniguruma/tags .*/v?(\d\S*)\.tar\.gz
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g;s/\_/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|oniguruma|ONIGURUMA)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/oniguruma-$1.$2/ \
+https://github.com/kkos/oniguruma/tags \
+(?:.*?/)?(?:rel|v|oniguruma|ONIGURUMA)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) \