]> code.ossystems Code Review - openembedded-core.git/commitdiff
db: fix upstream version check
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 27 Mar 2019 14:09:15 +0000 (15:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Mar 2019 23:25:44 +0000 (23:25 +0000)
The new regex excludes the 5.3.28+dfsg1 which is a Debian
repackaging of the original tarball:

* Repack the .orig tarball to eliminate prebuilt binaries that need a
    Visual Studio plugin to build from source. (Closes: #898215)

https://metadata.ftp-master.debian.org/changelogs/main/d/db5.3/unstable_changelog

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/db/db_5.3.28.bb

index 46536efe86f5612debb8c8ca0b08c9f14fa5adb4..8975647daf439e3ae898fb3492f2601efbc267f5 100644 (file)
@@ -30,7 +30,7 @@ SRC_URI += "file://fix-parallel-build.patch \
 # We are not interested in official latest 6.x versions;
 # let's track what debian is using.
 UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/db5.3/"
-UPSTREAM_CHECK_REGEX = "db5\.3_(?P<pver>.+)\.orig"
+UPSTREAM_CHECK_REGEX = "db5\.3_(?P<pver>\d+(\.\d+)+).+\.orig"
 
 SRC_URI[md5sum] = "b99454564d5b4479750567031d66fe24"
 SRC_URI[sha256sum] = "e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628"