Merge pull request #18265 from Homebrew/spdx-license-expr-docs
This commit is contained in:
commit
9feb56b8db
@ -3356,7 +3356,7 @@ class Formula
|
||||
#
|
||||
# @!attribute [w] license
|
||||
# @see https://docs.brew.sh/License-Guidelines Homebrew License Guidelines
|
||||
# @see https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/ SPDX license expression guide
|
||||
# @see https://spdx.github.io/spdx-spec/latest/annexes/spdx-license-expressions/ SPDX license expression guide
|
||||
# @api public
|
||||
def license(args = nil)
|
||||
if args.nil?
|
||||
|
@ -26,7 +26,7 @@ license :cannot_represent
|
||||
|
||||
## Complex SPDX License Expressions
|
||||
|
||||
Some formulae have multiple licenses that need to be combined in different ways. In these cases, a more complex license expression can be used. These expressions are based on the [SPDX License Expression Guidelines](https://spdx.github.io/spdx-spec/latest/SPDX-license-expressions/).
|
||||
Some formulae have multiple licenses that need to be combined in different ways. In these cases, a more complex license expression can be used. These expressions are based on the [SPDX License Expression Guidelines](https://spdx.github.io/spdx-spec/latest/annexes/spdx-license-expressions/).
|
||||
|
||||
Add a `+` to indicate that the user can choose a later version of the same license:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user