[SCM] kodi/experimental: Improve upstream version mangling in watch file

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Sun Mar 5 18:26:36 UTC 2017


The following commit has been merged in the experimental branch:
commit b3ff01dcf07ebf4979f7bb41a97265c13aa1c34c
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Tue Feb 28 02:15:28 2017 +0100

    Improve upstream version mangling in watch file

diff --git a/debian/watch b/debian/watch
index 6973f9b..7fbcb76 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=repacksuffix=+dfsg1,uversionmangle=s/\([\.0-9a-zA-Z]\)-.*$/\1/,dversionmangle=s/[-.+~]?(git|snapshot|repack|dfsg)(.*)$//i,pasv \
+opts=repacksuffix=+dfsg1,uversionmangle=s/\([\.0-9a-zA-Z]\)-.*$/\1/;s/rc/~rc/;s/a/~alpha/;s/b/~beta/,dversionmangle=s/[-.+~]?(git|snapshot|repack|dfsg)(.*)$//i,pasv \
 https://github.com/xbmc/xbmc/tags .*archive/?(\d\S*)-[A-Z].*\.tar\.gz

-- 
kodi packaging



More information about the pkg-multimedia-commits mailing list