summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-12-10 14:39:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-16 12:11:25 +0000
commit491e85a16b8aa92137609d99aa3eaad68df046f7 (patch)
treef42971856cfe3543610dd48de7362908b9e1f510
parent3fba41e7f58ba68bb2e215b6f0bc21bae47ca035 (diff)
downloadopenembedded-core-491e85a16b8aa92137609d99aa3eaad68df046f7.tar.gz
openembedded-core-491e85a16b8aa92137609d99aa3eaad68df046f7.tar.bz2
openembedded-core-491e85a16b8aa92137609d99aa3eaad68df046f7.zip
docbook-xsl-stylesheets: fix UPSTREAM_CHECK_REGEX
Versions ending in .0 are release candidates, so exclude those. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
index 878e7cf1ba..3c4ed6aded 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb
@@ -12,7 +12,8 @@ SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771"
SRC_URI[sha256sum] = "c98f7296ab5c8ccd2e0bc07634976a37f50847df2d8a59bdb1e157664700b467"
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/"
-UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+)/"
+# Reject versions ending in .0 as those are release candidates
+UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/"
S = "${WORKDIR}/docbook-xsl-${PV}"