[yocto] [meta-java][PATCH] jdepend: give the downloaded file a reasonable name

André Draszik git at andred.net
Thu Mar 1 02:46:01 PST 2018


From: André Draszik <andre.draszik at jci.com>

2.9.1.zip in the 'downloads' folder will easily be overwritten...

Signed-off-by: André Draszik <andre.draszik at jci.com>
---
 recipes-core/jdepend/jdepend_2.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb b/recipes-core/jdepend/jdepend_2.9.1.bb
index be48325..5f09a8b 100644
--- a/recipes-core/jdepend/jdepend_2.9.1.bb
+++ b/recipes-core/jdepend/jdepend_2.9.1.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230"
 
 HOMEPAGE = "https://github.com/clarkware/jdepend"
 
-SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip"
+SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip;downloadfilename=${BP}.zip"
 
 inherit java-library
 
-- 
2.16.2




More information about the yocto mailing list