diff mbox series

[meta-oe] yaml-cpp: remove +git from version and add tag to SRC_URI

Message ID 20260512062608.22940-1-peter.marko@siemens.com
State New
Headers show
Series [meta-oe] yaml-cpp: remove +git from version and add tag to SRC_URI | expand

Commit Message

Marko, Peter May 12, 2026, 6:26 a.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Last version bump did not do all necessary changes and kept the version
saying it's not on tag.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Gyorgy Sarvari May 12, 2026, 6:33 a.m. UTC | #1
On 5/12/26 08:26, Peter Marko via lists.openembedded.org wrote:
> From: Peter Marko <peter.marko@siemens.com>
> 
> Last version bump did not do all necessary changes and kept the version
> saying it's not on tag.
> 
> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> ---
>  meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb
> index 5233c569d2..dafe6e5da9 100644
> --- a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb
> +++ b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb
> @@ -7,9 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c"
>  
>  # yaml-cpp releases are stored as archive files in github.
>  # download the exact revision of release
> -SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https"
> +SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https;tag=yaml-cpp-${PV}"
>  SRCREV = "56e3bb550c91fd7005566f19c079cb7a503223cf"
> -PV .= "+git"
>  


This PV change should happen when there is an actual version update -
otherwise version will go backwards after this patch.


>  
>  inherit cmake
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#126857): https://lists.openembedded.org/g/openembedded-devel/message/126857
> Mute This Topic: https://lists.openembedded.org/mt/119270759/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb
index 5233c569d2..dafe6e5da9 100644
--- a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb
+++ b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb
@@ -7,9 +7,8 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c"
 
 # yaml-cpp releases are stored as archive files in github.
 # download the exact revision of release
-SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https"
+SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https;tag=yaml-cpp-${PV}"
 SRCREV = "56e3bb550c91fd7005566f19c079cb7a503223cf"
-PV .= "+git"
 
 
 inherit cmake