Hi Benedicte,

 

if you follow the spec the type for declared and concluded licenses can contain 
a license expression. 

 

https://spdx.github.io/spdx-spec/v2.3/package-information/#713-concluded-license-field

https://spdx.github.io/spdx-spec/v2.3/package-information/#715-declared-license-field

 

See also the SPDX FAQ https://wiki.spdx.org/view/SPDX_FAQ for basic questions:

“SPDX license information can be represented using conjunctive or disjunctive 
regular expressions. For example, a file that is dual licensed under either the 
GPL-2.0 or MIT would be represented using the following disjunctive expression: 
(GPL-2.0 or MIT).”

 

 

Kind regards,

Karsten

 

metaeffekt GmbH

Firmensitz: Renettenweg 6/1, 69124 Heidelberg

Registergericht: Amtsgericht Mannheim, HRB 725313

Geschäftsführer: Karsten Klein

USt.-IdNr.: DE307084554

 

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen 
beinhalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, informieren Sie 
bitte den Absender und löschen Sie diese E-Mail und alle Kopien umgehend. Eine 
unbefugte Weitergabe der E-Mail oder deren Inhalte und Anhänge ist nicht 
gestattet.

 

Möchten Sie als Empfänger keine Informationen dieser Art erhalten, setzen Sie 
sich bitte unmittelbar mit dem Absender der E-Mail in Verbindung. Die 
metaeffekt GmbH unterstützt Ihre Datenhoheit und informationelle 
Selbstbestimmung und übermittelt Informationen ausschließlich auf der 
Rechtsgrundlage der europäischen Datenschutzgrundverordnung (DSGVO). Weitere 
Informationen zu den Datenverarbeitungsvorgängen und insbesondere Ihrer Rechte 
entnehmen Sie der Datenschutzerklärung der metaeffekt GmbH.

 

 

From: <[email protected]> on behalf of Benedicte Presse 
<[email protected]>
Date: Thursday, October 26, 2023 at 09:26
To: <[email protected]>
Subject: [spdx-tech] How and where (in spdx files) write the choosen licence ?

 

Hello,

 

As you know, a software component can have several licenses.

The SPDX standard defines 2 attributes

- One for the declared license

- One for the concluded license

 

When a person redistribute a package, he can choice the applicable license.

For example ("caricatural" example) : A software component is under GPL or MIT. 
He can choice the MIT license, he has to declare the MIT licence redistribution 
to avoid being required to provide the source files required by the GPL v3 
license.

 

How declare in spdx files the choosen licence : MIT, whereas the "declared 
licence can be "GPL v3 OR MIT" (caricatiral example) ?

 

Thank in advance for your answer,

Best regards,

Bénédicte





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5396): https://lists.spdx.org/g/Spdx-tech/message/5396
Mute This Topic: https://lists.spdx.org/mt/102195631/21656
Group Owner: [email protected]
Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to