Skip to contentSkip to conversation

yaml-cpp: remove +git from version and add tag to SRC_URI

PATCH In review Peter Marko 2 participants 2 messages May 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 yaml-cpp: remove +git from version and add tag to SRC_URI

From: Peter Marko <[email protected]>

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

---
 meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb +1 -2
index 5233c569d2..dafe6e5da9 100644
@@ -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
#1 lore raw
Quoted 15 lines · Peter Marko via lists.openembedded.org

From: Peter Marko <[email protected]>

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

---
 meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb +0 -0
index 5233c569d2..dafe6e5da9 100644

meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c" · line 12

Quoted 8 lines
meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb +1 -2
@@ -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.

Quoted 13 lines
meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.9.0.bb +0 -1
 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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-