summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gevers <elbrus@debian.org>2017-07-17 00:57:02 +0200
committerPaul Gevers <elbrus@debian.org>2017-07-17 00:57:02 +0200
commit3a098ebd2c0a59b3f533818cf5317a339bbd2e44 (patch)
tree20e841ac5e5d2384bdbb1f611c26086fc1aea932
parent9531eabd92a10434681fbb30a6f4cb319a2d3dca (diff)
Update d/watch for correct way of version from directory
-rw-r--r--debian/watch11
1 files changed, 4 insertions, 7 deletions
diff --git a/debian/watch b/debian/watch
index 9e13ddd..b07c68d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,4 @@
-version=3
-# This watch file is currently broken as uscan does not support the version to
-# be only in the directory tree (bts: #526450). Because maybe uscan gets fixed before
-# this package receives a new release, I am activating it nevertheless.
-#
-# Also note that a "new" version doesn't seem to imply new content.
-http://festvox.org/packed/festival/([\d\.]*)/ festlex_POSLEX.tar.gz
+version=4
+# Note that a "new" version doesn't seem to imply new content.
+opts="filenamemangle=s#.*/festival/@ANY_VERSION@/festlex_POSLEX#@PACKAGE@_$1#" \
+ http://festvox.org/packed/festival/@ANY_VERSION@/ festlex_POSLEX@ARCHIVE_EXT@