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

Maxin B. John maxin.john at intel.com
Thu Mar 1 03:53:30 PST 2018


Hi,

On Thu, Mar 01, 2018 at 10:46:01AM +0000, André Draszik wrote:
> 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
>  

Thanks, Pushed to master.

Best Regards,
Maxin




More information about the yocto mailing list