<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.spdx.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spdx.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bruno+Cornec</id>
		<title>SPDX Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spdx.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bruno+Cornec"/>
		<link rel="alternate" type="text/html" href="https://wiki.spdx.org/view/Special:Contributions/Bruno_Cornec"/>
		<updated>2026-05-07T16:26:40Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.13</generator>

	<entry>
		<id>https://wiki.spdx.org/view/Technical_Team/Old/Sandbox_for_Sharing_Examples/How_to_Handle_Licenses_in_SPDX</id>
		<title>Technical Team/Old/Sandbox for Sharing Examples/How to Handle Licenses in SPDX</title>
		<link rel="alternate" type="text/html" href="https://wiki.spdx.org/view/Technical_Team/Old/Sandbox_for_Sharing_Examples/How_to_Handle_Licenses_in_SPDX"/>
				<updated>2010-04-08T17:08:30Z</updated>
		
		<summary type="html">&lt;p&gt;Bruno Cornec: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Handling of Licenses IDs (Short names)&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;We have proposed using the Fedora short names&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;We have also looked at the Debian naming scheme&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;There are a couple of key differences&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;strong&amp;gt;Version handling&amp;lt;/strong&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;1. Fedora builds versions into the short name, but it is done in a non-standardized way that seems to vary from license to license, eg&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;ASL 1.0&amp;amp;nbsp; (for Apache 1.0)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;AGPLv1&amp;amp;nbsp; (for Affero GPL v1)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;CeCill (for both Cecill v1.1 and v2)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;2. Debian proposes a standard way – “license name-version”, eg&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GPL-2&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Apache-2&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;3. Both Fedora and Debian also use standard way to deal with the “and later” version options by using a “+”, eg&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GPL-2+ (debian)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GPLv2+ (Fedora)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;4.&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;lt;/strong&amp;gt;&amp;lt;strong&amp;gt;Suggested Solution for SPDX&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;I believe we should have a standard way to handle versions for SPDX.&amp;amp;nbsp; I would suggest going with the Debian approach or something similar.&amp;amp;nbsp; This would entail slightly modifying the Fedora short names where they do not follow the standard&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;I’m not sure if there is some reason why Fedora hasn’t standardized this.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Handling of “standard” exceptions is different&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Fedora just uses a term that is “with exceptions”&amp;amp;nbsp; They don’t tell you which exceptions.&amp;amp;nbsp; The result is that a short name “&amp;lt;strong&amp;gt;GPLv3 with exceptions&amp;lt;/strong&amp;gt;”&amp;amp;nbsp; is used for both the classpath and font exceptions.&amp;amp;nbsp; This seems to create ambiguity.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Debian proposes naming the common exception – with the following syntax&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GPL-2+ with classpath exception&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GPL-2+ with font exception&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;3.&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;lt;/strong&amp;gt;&amp;lt;strong&amp;gt;Suggested Solution for SPDX&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;I believe we should use the Debian approach for common “approved” exceptions such as the 2 mentioned for GPL&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Spaces in short name&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Fedora has spaces in the short names&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Debian does not&amp;amp;nbsp; (they do have spaces when they do “with exceptions”&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;3.&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;lt;/strong&amp;gt;&amp;lt;strong&amp;gt;Suggested Solution for SPDX&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;I would ask the technical people if this will be problematic having spaces when we want to automatically parse these files.&amp;amp;nbsp; &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Handling of multiple licenses&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Both Fedora and Debian use “ands” and “ors” when there are multiple licenses associated with a pkg.&amp;amp;nbsp; &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;“and” when you must comply with the terms of all the licenses because parts of the package or file are under difference&amp;amp;nbsp; licenses   &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;artistic-1 and gpl-2&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;“or” when you get to choose a license   &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;artistic-1 or gpl-2&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;2. Both Fedora and Debian address the combining of ors and ands.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;amp;nbsp;  &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Use parentheses when needed &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;(artistic-1 or gpl-2) and lgpl=1.1&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;“and” takes precedence&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;GPL-2+ with font exception  &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;3.&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;lt;/strong&amp;gt;&amp;lt;strong&amp;gt;Suggested Solution for SPDX&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Follow the same rules&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Handling of license variations&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;There are several licenses that have “variations”.&amp;amp;nbsp; MIT and BSD are examples of this.&amp;amp;nbsp; These situations are handled differently by Fedora and Debian.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Fedora&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;For MIT, Fedora treats a bunch of the MIT variations as “functionally equivalent” and uses the short name “MIT” to refer to all of them.&amp;amp;nbsp; They have a page listing all of the MIT variants and the actual text. &amp;lt;a href=&amp;quot;https://fedoraproject.org/wiki/Licensing/MIT&amp;quot;&amp;gt;https://fedoraproject.org/wiki/Licensing/MIT&amp;lt;/a&amp;gt; &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;For BSD, Fedora seems to have different short names for each of the variants, eg   &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;BSD License (original) = short name “BSD with advertising”&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;BSD License (no advertising) which is a 3 clause version and BSD License (two clause)&amp;amp;nbsp; both = short name of “BSD”&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;BSD Protection License = short name of “BSD Protection”&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Academy of Motion Picture Arts and Sciences BSD = “AMPAS BSD”&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;3. Debian&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;For MIT, Debian says that it is “problematic”&amp;amp;nbsp; and hasn’t addressed it .&amp;amp;nbsp; They have no short name for MIT yet.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;For BSD, Debian has a short name for BSD, but it’s unclear how the variants are handled&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p style=&amp;quot;padding-left: 30px;&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;4.&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; &amp;lt;/strong&amp;gt;&amp;lt;strong&amp;gt;Suggested Solution for SPDX&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;ol&amp;gt; &amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;This one is a little complicated.&amp;amp;nbsp; I think for any situation where we have different variants of a license, they should have different short names.&amp;amp;nbsp; Fedora has done this to some extent, but in some cases (like BSD 2 and 3-clause) they have combined it to use one short name.&amp;amp;nbsp;&amp;amp;nbsp; This would require us to stray from the short names of Fedora.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The other question is what do you do with “other” variants that don’t have a unique short name.&amp;amp;nbsp; Some people use “BSD-like” or terms such as that.&amp;amp;nbsp; I know some people don’t like that.&amp;amp;nbsp;&amp;amp;nbsp; It seems that for now the most accurate approach would be either to give a variant it’s own short name, or tag it as an “Other” license.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bruno Cornec</name></author>	</entry>

	</feed>