Skip to content

Commit

Permalink
eCos-2.0: Replace deprecated="true" with <obsoleted-by>
Browse files Browse the repository at this point in the history
From [1]:

  As a result, a number of licenses formerly included in the SPDX
  License List have been deprecated as licenses, and correct usage
  employs the License Expression Syntax as of v2.0.

So the sole reason for the deprecations seems to be "there's a better
way to say that now".

Telling people "use an expression instead" is less useful than saying
"use this expression instead: $SOME_EXPRESSION".  This commit updates
the eCos license (the only deprecated license currently in this
repository) to do that, using the WITH exception syntax [2] and the
eCos exception label from [3] defined in SPDX 2.1 (and possibly in
earlier versions).

It also makes similar updates to the other licenses which had set
deprecated="true".

[1]: https://spdx.org/licenses/
[2]: https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60
     Appendix IV: SPDX License Expressions
[3]: https://spdx.org/spdx-specification-21-web-version#h.ruv3yl8g6czd
     I.2 Exceptions List
  • Loading branch information
wking committed May 31, 2017
1 parent 84a14cd commit 7b56ba9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/GPL-2.0-with-GCC-exception.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<SPDX name="GNU General Public License v2.0 w/GCC Runtime Library exception" identifier="GPL-2.0-with-GCC-exception" deprecated="true">
<notes>DEPRECATED: Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<SPDX name="GNU General Public License v2.0 w/GCC Runtime Library exception" identifier="GPL-2.0-with-GCC-exception">
<obsoleted-by>GPL-2.0 WITH GCC-exception-2.0</obsoleted-by>
<license>
<body>
<p>insert GPL v2 license text here</p>
Expand Down
4 changes: 2 additions & 2 deletions src/GPL-2.0-with-autoconf-exception.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<SPDX name="GNU General Public License v2.0 w/Autoconf exception" identifier="GPL-2.0-with-autoconf-exception" deprecated="true">
<SPDX name="GNU General Public License v2.0 w/Autoconf exception" identifier="GPL-2.0-with-autoconf-exception">
<urls>
<url>http://ac-archive.sourceforge.net/doc/copyright.html</url>
</urls>
<notes>DEPRECATED: Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<obsoleted-by>GPL-2.0 WITH Autoconf-exception-2.0</obsoleted-by>
<license>
<body>
<p>insert GPL v2 license text here</p>
Expand Down
4 changes: 2 additions & 2 deletions src/GPL-2.0-with-bison-exception.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<SPDX name="GNU General Public License v2.0 w/Bison exception" identifier="GPL-2.0-with-bison-exception" deprecated="true">
<notes>DEPRECATED: Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<SPDX name="GNU General Public License v2.0 w/Bison exception" identifier="GPL-2.0-with-bison-exception">
<obsoleted-by>GPL-2.0 WITH Bison-exception-2.2</obsoleted-by>
<license>
<title>Bison Exception</title>
<body>
Expand Down
4 changes: 2 additions & 2 deletions src/GPL-2.0-with-classpath-exception.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<SPDX name="GNU General Public License v2.0 w/Classpath exception" identifier="GPL-2.0-with-classpath-exception" deprecated="true">
<SPDX name="GNU General Public License v2.0 w/Classpath exception" identifier="GPL-2.0-with-classpath-exception">
<urls>
<url>http://www.gnu.org/software/classpath/license.html</url>
</urls>
<notes>DEPRECATED: Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<obsoleted-by>GPL-2.0 WITH Classpath-exception-2.0</obsoleted-by>
<license>
<body>
<p>insert GPL v2 license text here</p>
Expand Down
4 changes: 2 additions & 2 deletions src/GPL-2.0-with-font-exception.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<SPDX name="GNU General Public License v2.0 w/Font exception" identifier="GPL-2.0-with-font-exception" deprecated="true">
<SPDX name="GNU General Public License v2.0 w/Font exception" identifier="GPL-2.0-with-font-exception">
<urls>
<url>http://www.gnu.org/licenses/gpl-faq.html#FontException</url>
</urls>
<notes>DEPRECATED: Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<obsoleted-by>GPL-2.0 WITH Font-exception-2.0</obsoleted-by>
<license>
<body>
<p>insert GPL v2 license text here</p>
Expand Down
4 changes: 2 additions & 2 deletions src/GPL-3.0-with-autoconf-exception.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<SPDX name="GNU General Public License v3.0 w/Autoconf exception" identifier="GPL-3.0-with-autoconf-exception" deprecated="true">
<SPDX name="GNU General Public License v3.0 w/Autoconf exception" identifier="GPL-3.0-with-autoconf-exception">
http://www.gnu.org/licenses/autoconf-exception-3.0.html
<notes>DEPRECATED: Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<obsoleted-by>GPL-3.0 WITH Autoconf-exception-3.0</obsoleted-by>
<license>
<body>
<p>insert GPL v3 text here</p>
Expand Down
4 changes: 2 additions & 2 deletions src/eCos-2.0.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<SPDX name="eCos license version 2.0" identifier="eCos-2.0" deprecated="true">
<SPDX name="eCos license version 2.0" identifier="eCos-2.0">
<urls>
<url>http://www.gnu.org/licenses/ecos-license.html</url>
</urls>
<notes>DEPRECATED: This is really GPL-2.0 or later with an exception. Use License Expression Syntax and Exceptions list to create equivalent license.</notes>
<obsoleted-by>GPL-2.0+ WITH eCos-exception-2.0</obsoleted-by>
<license>
<title>The eCos license version 2.0</title>
<body>
Expand Down

0 comments on commit 7b56ba9

Please sign in to comment.