upower: add UPSTREAM_CHECK_GITTAGREGEX
PATCH 1/3 upower: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version upower INFO: Current version: 0.99.13 INFO: Latest version: 014 INFO: Latest version's commit: 8cbaa7f70b1bc8aa96f420f9061b20e5d8839ea7
After the patch:
$ devtool latest-version upower INFO: Current version: 0.99.13 INFO: Latest version: 0.99.13 INFO: Latest version's commit: 0f6cc0a10be22d7ddd684e1cd851e4364a440494
Signed-off-by Yi Zhao <[email protected]>
--- meta-oe/recipes-support/upower/upower_0.99.13.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/upower/upower_0.99.13.bb +2 -0
@@ -8,6 +8,8 @@ SRC_URI = "git://gitlab.freedesktop.org/upower/upower.git;protocol=https;branch= SRCREV = "0f6cc0a10be22d7ddd684e1cd851e4364a440494" S = "${WORKDIR}/git" +UPSTREAM_CHECK_GITTAGREGEX = "UPOWER_(?P<pver>\d+(\_\d+)+)" + inherit autotools pkgconfig gtk-doc gettext gobject-introspection systemd PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
Signature · 1 line
2.25.1
PATCH 2/3 lvm2: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version lvm2 INFO: Current version: 2.03.11 INFO: Latest version: 19990504 INFO: Latest version's commit: af9010d115cd3b97939cec0120126aba262ec57a
After the patch:
$ devtool latest-version lvm2 INFO: Current version: 2.03.11 INFO: Latest version: 2.03.14 INFO: Latest version's commit: ef4521831d15a1785e034f6c6f536a03446f6e05
Signed-off-by Yi Zhao <[email protected]>
--- meta-oe/recipes-support/lvm2/lvm2.inc | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/lvm2/lvm2.inc +2 -0
@@ -21,6 +21,8 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" S = "${WORKDIR}/git" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" + inherit autotools-brokensep pkgconfig systemd LVM2_PACKAGECONFIG = "dmeventd"
Signature · 1 line
2.25.1
PATCH 3/3 ndctl: add UPSTREAM_CHECK_GITTAGREGEX
In reply to Yi ZhaoAdd UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version ndctl INFO: Current version: v69 INFO: Latest version: 20150514 INFO: Latest version's commit: b6c7999a9f0115bac0d55f0d278674b03b0dd19e
After the patch:
$ devtool latest-version ndctl INFO: Current version: v69 INFO: Latest version: v72 INFO: Latest version's commit: 25062cf34c70012f5d42ce1fef7e2dc129807c10
Signed-off-by Yi Zhao <[email protected]>
--- meta-oe/recipes-core/ndctl/ndctl_v69.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-core/ndctl/ndctl_v69.bb +2 -0
@@ -13,6 +13,8 @@ inherit autotools-brokensep pkgconfig bash-completion systemd SRCREV = "ea62d6d53bf6f806c4841e97a370201e18446860" SRC_URI = "git://github.com/pmem/ndctl.git;branch=master;protocol=https" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>v\d+(\.\d+)*)" + DEPENDS = "kmod udev json-c keyutils" S = "${WORKDIR}/git"
Signature · 1 line
2.25.1