aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-11-29 17:19:07 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-11-29 17:19:07 -0700
commit64defc23ca46e3a10aa55018239d265202890e1c (patch)
tree9f4cdf7b4ecff49a8c46cbd4da08140eae2fb4d5
parentfc92de3b9cd1206d29aeb02f1c3cd7de42af1962 (diff)
downloadzxcvbn-c-64defc23ca46e3a10aa55018239d265202890e1c.tar.gz
standardise watchfile
-rw-r--r--debian/changelog1
-rw-r--r--debian/watch5
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index fb817eb..d5827d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ zxcvbn-c (2.0+dfsg-1) UNRELEASED; urgency=medium
- add-another-missing-file-to-clean-target.patch
- standardise-makefile-variables.patch
* Refresh patch-README-for-Debian.patch.
+ * Standardise watch file in accordance with uscan(1).
* Drop unused spelling-error-in-binary Lintian override for libzxcvbn0.
-- Sean Whitton <spwhitton@spwhitton.name> Tue, 25 Oct 2016 18:54:12 -0700
diff --git a/debian/watch b/debian/watch
index 65b89de..2b2d11c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=4
-opts="mode=git,dversionmangle=s/\+dfsg\d*$//" https://github.com/tsyrogit/zxcvbn-c \
- refs/tags/v([\d\.]+) debian uupdate
+opts="dversionmangle=s/\+dfsg\d*$//,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+ https://github.com/tsyrogit/zxcvbn-c/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate