Skip to contentSkip to conversation

lsb-release: fix upstream version check

PATCH New Alexander Kanavin 1 participant 2 messages Aug 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 lsb-release: fix upstream version check

With the new recipe matching the tarbal version, there is no need for an exception from the check.

---
 meta/recipes-extended/lsb/lsb-release_1.4.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-extended/lsb/lsb-release_1.4.bb +0 -1
index 4d8b3d3d3c4..52e30267f50 100644
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf"
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar.gz \
            file://0001-fix-lsb_release-to-work-with-busybox-head-and-find.patch \
            "
-UPSTREAM_VERSION_UNKNOWN = "1"
 
 SRC_URI[md5sum] = "30537ef5a01e0ca94b7b8eb6a36bb1e4"
 SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 libffi: fix upstream version check

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

---
 meta/recipes-support/libffi/libffi_3.3~rc0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-support/libffi/libffi_3.3~rc0.bb +3 -0
index 3e2845546e0..8acb699d4ab 100644
@@ -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'"
Signature · 1 line
2.17.1