diff mbox series

[05/16] sassc: put version in recipe filename

Message ID 20250605153508.961682-5-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:34 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>
---
 meta/recipes-support/sass/{sassc_git.bb => sassc_3.6.2.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-support/sass/{sassc_git.bb => sassc_3.6.2.bb} (84%)
diff mbox series

Patch

diff --git a/meta/recipes-support/sass/sassc_git.bb b/meta/recipes-support/sass/sassc_3.6.2.bb
similarity index 84%
rename from meta/recipes-support/sass/sassc_git.bb
rename to meta/recipes-support/sass/sassc_3.6.2.bb
index 64e92f48cfd..fe9c48662a7 100644
--- a/meta/recipes-support/sass/sassc_git.bb
+++ b/meta/recipes-support/sass/sassc_3.6.2.bb
@@ -7,12 +7,11 @@  DEPENDS = "libsass"
 
 inherit autotools pkgconfig
 
-SRC_URI = "git://github.com/sass/sassc.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/sass/sassc.git;protocol=https;branch=master;tag=${PV} \
            file://0001-Remove-sassc_version.h-from-source-directory.patch"
 
 SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
 S = "${WORKDIR}/git"
-PV = "3.6.2"
 
 CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper"