[PATCH] LICENSE.BSD-2-Clause: Prefer no license text

Chris Johns chrisj at rtems.org
Wed Feb 19 07:54:45 UTC 2020


On 19/2/20 6:13 pm, Sebastian Huber wrote:
> Update #3053.
> ---
>  LICENSE.BSD-2-Clause | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/LICENSE.BSD-2-Clause b/LICENSE.BSD-2-Clause
> index 60a74e9adf..b58cfd6aa4 100644
> --- a/LICENSE.BSD-2-Clause
> +++ b/LICENSE.BSD-2-Clause
> @@ -21,7 +21,16 @@ If more than one copyright holder exists for a file, then sort the copyright
>  lines by the first year (earlier years are below later years) followed by the
>  copyright holder in alphabetical order (A is above B).
>  
> -You must not alter anything else in the license comment.
> +It is preferred to not include the full BSD-2-Clause license text in each file.
> +Use the SPDX License Identifier to specify the license.
> +
> +/*
> + * SPDX-License-Identifier: BSD-2-Clause
> + *
> + * Copyright (C) <FIRST YEAR>, <LAST YEAR> <COPYRIGHT HOLDER>
> + /

Code block?

Chris

> +
> +For reference, a license header with the full license text is:
>  
>  /*
>   * SPDX-License-Identifier: BSD-2-Clause
> 


More information about the devel mailing list