aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2015-02-13 15:58:12 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-16 09:12:40 +0000
commit63a9e60a6d80cfd2693ec1a6359785dc19f98e1f (patch)
tree74cf6377b5f442ad9e21491b4b505ca5ee956325 /lib/bb/fetch2/wget.py
parent1a75b3707743c32eec9d2cf566fb6bbea9f73784 (diff)
downloadbitbake-63a9e60a6d80cfd2693ec1a6359785dc19f98e1f.tar.gz
fetch2: wget _modelate_version improvments
Fix sustition for rc, beta and alpha releses from -N to N weight. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/wget.py')
-rw-r--r--lib/bb/fetch2/wget.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/fetch2/wget.py b/lib/bb/fetch2/wget.py
index 809e9fc7c..570bd47ac 100644
--- a/lib/bb/fetch2/wget.py
+++ b/lib/bb/fetch2/wget.py
@@ -143,9 +143,9 @@ class Wget(FetchMethod):
version = re.sub('\-', '.', version)
version = re.sub('_', '.', version)
- version = re.sub('(rc)+', '.-1.', version)
- version = re.sub('(alpha)+', '.-3.', version)
- version = re.sub('(beta)+', '.-2.', version)
+ version = re.sub('(rc)+', '.1000.', version)
+ version = re.sub('(beta)+', '.100.', version)
+ version = re.sub('(alpha)+', '.10.', version)
if version[0] == 'v':
version = version[1:len(version)]
return version