summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 09:16:16 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 09:16:16 +0200
commit6cac1738b6aebf75b29d225775030d291319f9a2 (patch)
tree81a7805f37e72a346e824c30506c47516727dcb9
parent9d981e4e0e65de82dd97bc670832e0f83a0754f0 (diff)
Rewrite debain/watch
-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))) \