[med-svn] [kmc] 01/02: Use filenamemangle in d/watch
Kevin Murray
daube-guest at moszumanska.debian.org
Wed Nov 11 12:37:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch master
in repository kmc.
commit eb4b577b27ef92a1eb9212ecaf220be93b7ff76d
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Wed Nov 11 12:01:24 2015 +1100
Use filenamemangle in d/watch
---
debian/watch | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/watch b/debian/watch
index e67fb81..55ffe68 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=3
-opts=dversionmangle=s/.+\/v?(\d\S*)\.tar\.gz/kmc-$1.tar.gz/,dversionmangle=s/.dfsg// \
+opts="repacksuffix=+dfsg,dversionmangle=s/.dfsg//,filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/kmc_$1.tar.gz/" \
https://github.com/marekkokot/KMC/releases .*/archive/(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/kmc.git
More information about the debian-med-commit
mailing list