diff mbox series

[04/16] libsass: put version in recipe filename

Message ID 20250605153508.961682-4-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/{libsass_git.bb => libsass_3.6.6.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta/recipes-support/sass/{libsass_git.bb => libsass_3.6.6.bb} (80%)
diff mbox series

Patch

diff --git a/meta/recipes-support/sass/libsass_git.bb b/meta/recipes-support/sass/libsass_3.6.6.bb
similarity index 80%
rename from meta/recipes-support/sass/libsass_git.bb
rename to meta/recipes-support/sass/libsass_3.6.6.bb
index 890cbf8e631..342061ceb64 100644
--- a/meta/recipes-support/sass/libsass_git.bb
+++ b/meta/recipes-support/sass/libsass_3.6.6.bb
@@ -5,11 +5,10 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=8f34396ca205f5e119ee77aae91fa27d"
 
 inherit autotools
 
-SRC_URI = "git://github.com/sass/libsass.git;branch=master;protocol=https \
+SRC_URI = "git://github.com/sass/libsass.git;protocol=https;branch=master;tag=${PV} \
            file://0001-Remove-version.h-from-source-directory.patch"
 
 SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460"
-PV = "3.6.6"
 
 S = "${WORKDIR}/git"