[1/1] avoid unspecific file names in download cache

Message ID 20251212131832.65050-1-felix.moessbauer@siemens.com
State Under Review
Headers show
Series [1/1] avoid unspecific file names in download cache | expand

Commit Message

MOESSBAUER, Felix Dec. 12, 2025, 1:18 p.m. UTC
With the recent introduction of the SBOM series, we also introduced
artifacts with unspecific names (only v<version>.tar.gz) in the download
cache. As this can easily lead to name collisions, we manually provide
the downloadfilename for the related artifacts.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 .../recipes-support/python3-beartype/python3-beartype_0.19.0.bb | 2 +-
 .../python3-spdx-tools/python3-spdx-tools_0.8.3.bb              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb b/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb
index b8bc2708..d4ada80c 100644
--- a/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb
+++ b/meta/recipes-support/python3-beartype/python3-beartype_0.19.0.bb
@@ -18,7 +18,7 @@  DEBIAN_CHANGELOG_TIMESTAMP = "315532800"
 DESCRIPTION = "Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python."
 
 SRC_URI = "\
-    https://github.com/beartype/beartype/archive/refs/tags/v0.19.0.tar.gz \
+    https://github.com/beartype/beartype/archive/refs/tags/v0.19.0.tar.gz;downloadfilename=${PN}-${PV}.tar.gz  \
     file://rules \
     "
 SRC_URI[sha256sum] = "e7ad00eebf527d60f30e0b391209b561dabd2074b608c50e26c94c2d8250a6cd"
diff --git a/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb b/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb
index 30d090a9..14e46994 100644
--- a/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb
+++ b/meta/recipes-support/python3-spdx-tools/python3-spdx-tools_0.8.3.bb
@@ -35,7 +35,7 @@  DEB_BUILD_OPTIONS += "nocheck"
 DESCRIPTION = "SPDX parser and tools."
 
 SRC_URI = "\
-    https://github.com/spdx/tools-python/archive/refs/tags/v0.8.3.tar.gz \
+    https://github.com/spdx/tools-python/archive/refs/tags/v0.8.3.tar.gz;downloadfilename=${PN}-${PV}.tar.gz \
     file://rules \
     "
 SRC_URI[sha256sum] = "17cb0140adbaefb58819c9d5d56060dc6a70c673a854fa9bd882ecfa4e062a7f"