]> code.ossystems Code Review - openembedded-core.git/commitdiff
unifdef: add UPSTREAM_CHECK_REGEX to filter out development snapshots
authorRoss Burton <ross.burton@intel.com>
Mon, 20 Feb 2017 16:56:24 +0000 (16:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2017 20:29:17 +0000 (12:29 -0800)
Upstream is releasing development snapshots of the form
unifdef-2.11.23.1cca442.tar.gz so filter out versions which end is something
that looks like a git SHA.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/unifdef/unifdef_2.11.bb

index 1d13b9a6bf51edbbaa43a3da275adab491dd5815..1ffc11e76b368b6df7ce7501c81491470654488c 100644 (file)
@@ -10,6 +10,8 @@ SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz"
 SRC_URI[md5sum] = "337053fd8a7d9ab3adf5e50f88af95b7"
 SRC_URI[sha256sum] = "828ffc270ac262b88fe011136acef2780c05b0dc3c5435d005651740788d4537"
 
+UPSTREAM_CHECK_REGEX = "unifdef-(?P<pver>((\d+\.*)+)(?![a-f0-9]{6,})).tar"
+
 do_install() {
        oe_runmake install DESTDIR=${D} prefix=${prefix}
 }