]> code.ossystems Code Review - openembedded-core.git/commitdiff
logrotate: fix upstream version check
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 15 Jun 2017 12:45:58 +0000 (15:45 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jun 2017 14:51:56 +0000 (15:51 +0100)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
meta/recipes-extended/logrotate/logrotate_3.9.1.bb

index 42462311994e6ef195b1639bc7dbe9ef45157629..7c732122ba43f6ec697c1f121c14c69dd991f344 100644 (file)
@@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
 S = "${WORKDIR}/${BPN}-r3-9-1"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
+UPSTREAM_CHECK_REGEX = "logrotate-(?P<pver>\d+(\.\d+)+).tar"
 
 SRC_URI = "https://github.com/${BPN}/${BPN}/archive/r3-9-1.tar.gz \
            file://act-as-mv-when-rotate.patch \