summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2021-10-15 10:59:31 +0200
committerGard Spreemann <gspr@nonempty.org>2021-10-15 10:59:31 +0200
commit9a55e3e679a38d2f1226b255486fb649c43743e9 (patch)
tree1c78e08bf7aacde6af78b912655dd0f2bb1ee3c0
parent972e1d48f96a23b797b999fb60ecd6cf41e3b39e (diff)
Fix broken watch file
-rw-r--r--debian/watch4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index 32c4633..428dcec 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
version=4
-https://github.com/mariomulansky/PySpike/tags .*/archive/(\d\S+)\.tar\.gz
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
+ https://github.com/mariomulansky/PySpike/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate