diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2021-12-31 14:13:48 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-05 08:17:18 -0800 |
| commit | 3812ee8d0c6906b22ce58145eeab865390d64506 (patch) | |
| tree | b07b14487ce9f54182134269b818398fcf429ee1 | |
| parent | cc413c7823c05583e14d6aae168092302ddcc245 (diff) | |
| download | meta-openembedded-3812ee8d0c6906b22ce58145eeab865390d64506.tar.gz | |
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 <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/upower/upower_0.99.13.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/upower/upower_0.99.13.bb b/meta-oe/recipes-support/upower/upower_0.99.13.bb index 6110a26c08..1059763169 100644 --- a/meta-oe/recipes-support/upower/upower_0.99.13.bb +++ b/meta-oe/recipes-support/upower/upower_0.99.13.bb | |||
| @@ -8,6 +8,8 @@ SRC_URI = "git://gitlab.freedesktop.org/upower/upower.git;protocol=https;branch= | |||
| 8 | SRCREV = "0f6cc0a10be22d7ddd684e1cd851e4364a440494" | 8 | SRCREV = "0f6cc0a10be22d7ddd684e1cd851e4364a440494" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
| 10 | 10 | ||
| 11 | UPSTREAM_CHECK_GITTAGREGEX = "UPOWER_(?P<pver>\d+(\_\d+)+)" | ||
| 12 | |||
| 11 | inherit autotools pkgconfig gtk-doc gettext gobject-introspection systemd | 13 | inherit autotools pkgconfig gtk-doc gettext gobject-introspection systemd |
| 12 | 14 | ||
| 13 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 15 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
