diff options
Diffstat (limited to 'meta/classes/distrodata.bbclass')
-rw-r--r-- | meta/classes/distrodata.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass index e25eeab367..276ca03bb6 100644 --- a/meta/classes/distrodata.bbclass +++ b/meta/classes/distrodata.bbclass | |||
@@ -291,8 +291,8 @@ python do_checkpkg() { | |||
291 | suffix = "(tar\.gz|tgz|tar\.bz2|zip|xz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)" | 291 | suffix = "(tar\.gz|tgz|tar\.bz2|zip|xz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)" |
292 | 292 | ||
293 | suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2", "tar.xz", "bz2", "orig.tar.gz", "src.tar.gz", "src.rpm", "src.tgz", "svnr\d+.tar.bz2", "stable.tar.gz", "src.rpm") | 293 | suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2", "tar.xz", "bz2", "orig.tar.gz", "src.tar.gz", "src.rpm", "src.tgz", "svnr\d+.tar.bz2", "stable.tar.gz", "src.rpm") |
294 | sinterstr = "(?P<name>%s?)v?(?P<ver>%s)(source)?" % (prefix, ver_regex) | 294 | sinterstr = "(?P<name>%s?)v?(?P<ver>%s)(\-source)?" % (prefix, ver_regex) |
295 | sdirstr = "(?P<name>%s)\.?v?(?P<ver>%s)(source)?[\.\-](?P<type>%s$)" % (prefix, ver_regex, suffix) | 295 | sdirstr = "(?P<name>%s)\.?v?(?P<ver>%s)(\-source)?[\.\-](?P<type>%s$)" % (prefix, ver_regex, suffix) |
296 | 296 | ||
297 | def parse_inter(s): | 297 | def parse_inter(s): |
298 | m = re.search(sinterstr, s) | 298 | m = re.search(sinterstr, s) |
@@ -504,7 +504,7 @@ python do_checkpkg() { | |||
504 | status = "ErrParseDir" | 504 | status = "ErrParseDir" |
505 | else: | 505 | else: |
506 | """newver still contains a full package name string""" | 506 | """newver still contains a full package name string""" |
507 | status = newver[1] | 507 | status = re.sub('_', '.', newver[1]) |
508 | elif not len(fhtml): | 508 | elif not len(fhtml): |
509 | status = "ErrHostNoDir" | 509 | status = "ErrHostNoDir" |
510 | 510 | ||