[OE-core] [PATCH] babeltrace: only check latest git tag version for 1.x.x

Peter Kjellerstedt peter.kjellerstedt at axis.com
Tue Mar 3 12:29:10 UTC 2020


> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-core-
> bounces at lists.openembedded.org> On Behalf Of Anders Wallin
> Sent: den 3 mars 2020 08:52
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH] babeltrace: only check latest git tag version
> for 1.x.x
> 
> version 2.x.x will be added with a new babeltrace2 recipe
> 
> Signed-off-by: Anders Wallin <wallinux at gmail.com>
> ---
>  meta/recipes-kernel/lttng/babeltrace_1.5.8.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-kernel/lttng/babeltrace_1.5.8.bb b/meta/recipes-
> kernel/lttng/babeltrace_1.5.8.bb
> index c050dc674d..3268c5de9c 100644
> --- a/meta/recipes-kernel/lttng/babeltrace_1.5.8.bb
> +++ b/meta/recipes-kernel/lttng/babeltrace_1.5.8.bb
> @@ -11,7 +11,7 @@ SRC_URI =
> "git://git.linuxfoundation.org/diamon/babeltrace.git;branch=stable-1.5
>  	   file://run-ptest \
>  	  "
>  SRCREV = "054a54ae10b01a271afc4f19496c041b10fb414c"
> -UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)$"
> +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>1+(\.\d+)+)$"

Change "1+" to "1" or you will match, e.g., "11" and "111".

> 
>  S = "${WORKDIR}/git"
> 
> --
> 2.25.1

//Peter



More information about the Openembedded-core mailing list