[SCM] mplayer2/master: Use filenamemangle to strip 'build-' out of the filename.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Mar 22 14:03:20 UTC 2011


The following commit has been merged in the master branch:
commit ce9e3056ea526f37bea31377dba509406dc46564
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Mar 22 15:03:01 2011 +0100

    Use filenamemangle to strip 'build-' out of the filename.

diff --git a/debian/watch b/debian/watch
index 8d1bf93..d20a484 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=3
-opts=uversionmangle=s/([\d\.]+)-(rc|alpha|beta)([\d\.]*)/$1~$2$3/ \
+opts=uversionmangle=s/([\d\.]+)-(rc|alpha|beta)([\d\.]*)/$1~$2$3/,\
+	filenamemangle=s/build-// \
 http://ftp.mplayer2.org/pub/release/mplayer2-[^\d]*-(.*)\.tar\.xz

-- 
mplayer2 packaging



More information about the pkg-multimedia-commits mailing list