diff mbox series

[14/16] tcf-agent: put version in recipe filename

Message ID 20250605153508.961682-14-ross.burton@arm.com
State New
Headers show
Series [01/16] libmodulemd: put version in recipe filename | expand

Commit Message

Ross Burton June 5, 2025, 3:35 p.m. UTC
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, drop the explicit PV, and set the tag
name in the SRC_URI to verify the SHA.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../tcf-agent/{tcf-agent_git.bb => tcf-agent_1.8.0.bb}         | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-devtools/tcf-agent/{tcf-agent_git.bb => tcf-agent_1.8.0.bb} (98%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
similarity index 98%
rename from meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
rename to meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
index 235936288ba..2dcba1a1d31 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
@@ -7,10 +7,9 @@  LICENSE = "EPL-1.0 | BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
 
 SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709"
-PV = "1.8.0+git"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
-SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \
+SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master;tag=${PV} \
            file://ldflags.patch \
            file://tcf-agent.init \
            file://tcf-agent.service \