[Pkg-ocaml-maint-commits] [camlpdf] 02/08: debian/watch: Use filenamemangle

Nicolas Braud-Santoni nicolas at braud-santoni.eu
Sun Jul 24 02:15:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

nicoo-guest pushed a commit to branch master
in repository camlpdf.

commit 9946126cb7c339d9c689c98698d095e634783489
Author: Nicolas Braud-Santoni <nicolas at braud-santoni.eu>
Date:   Sat Jul 23 17:11:08 2016 -0400

    debian/watch: Use filenamemangle
---
 debian/watch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index e5054ae..43ede75 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-https://github.com/johnwhitington/camlpdf/releases /.*/archive/v([\d\.]+)\.tar\.gz
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/camlpdf-$1\.tar\.gz/ \
+  https://github.com/johnwhitington/camlpdf/releases /.*/archive/v([\d\.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/camlpdf.git



More information about the Pkg-ocaml-maint-commits mailing list