[OE-core] [PATCH 2/2] libffi: fix upstream version check

Alexander Kanavin alex.kanavin at gmail.com
Fri Aug 30 20:21:11 UTC 2019


As there is no version newer than 3.3-rc0 yet, an exception
from the check is needed.

Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
 meta/recipes-support/libffi/libffi_3.3~rc0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/libffi/libffi_3.3~rc0.bb b/meta/recipes-support/libffi/libffi_3.3~rc0.bb
index 3e2845546e0..8acb699d4ab 100644
--- a/meta/recipes-support/libffi/libffi_3.3~rc0.bb
+++ b/meta/recipes-support/libffi/libffi_3.3~rc0.bb
@@ -16,6 +16,9 @@ SRC_URI = "https://github.com/libffi/libffi/releases/download/v3.3-rc0/libffi-3.
            "
 SRC_URI[md5sum] = "8d2a82a78faf10a5e53c27d986e8f04e"
 SRC_URI[sha256sum] = "403d67aabf1c05157855ea2b1d9950263fb6316536c8c333f5b9ab1eb2f20ecf"
+UPSTREAM_CHECK_URI = "https://github.com/libffi/libffi/releases/"
+UPSTREAM_CHECK_REGEX = "libffi-(?P<pver>\d+(\.\d+)+)\.tar"
+UPSTREAM_VERSION_UNKNOWN = "1"
 
 EXTRA_OECONF += "--disable-builddir"
 EXTRA_OEMAKE_class-target = "LIBTOOLFLAGS='--tag=CC'"
-- 
2.17.1



More information about the Openembedded-core mailing list