Skip to content

Commit

Permalink
fix(spdx): typo in template and bump LicenseListVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhbr committed Apr 5, 2017
1 parent 34cc66a commit 279d41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/spdx2/agent/template/spdx2-document.xml.twig
Expand Up @@ -8,11 +8,11 @@
xmlns:spdx="http://spdx.org/rdf/terms#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<spdx:SpdxDocument rdf:about="{{ uri }}#SPDXRef-DOCUMENT">
<spdx:specVersion>SPDX-2.0</spdx:specVersion>
<spdx:specVersion>SPDX-2.1</spdx:specVersion>
<spdx:dataLicense rdf:resource="http://spdx.org/licenses/CC0-1.0" />
<spdx:creationInfo>
<spdx:CreationInfo>
<spdx:licenseListVersion>2.0</spdx:licenseListVersion>
<spdx:licenseListVersion>2.6</spdx:licenseListVersion>
<spdx:creator>Person: {{ userName|e }}</spdx:creator>
<spdx:creator>Organization: {{ organisation|e }}</spdx:creator>
<spdx:creator>Tool: spxd2</spdx:creator>
Expand All @@ -21,7 +21,7 @@
</spdx:creationInfo>
<spdx:name>{{ documentName|e }}</spdx:name>
<rdfs:comment>
This document was created using license informations and a generator from Fossology.
This document was created using license information and a generator from Fossology.
</rdfs:comment>
{% for licenseId,extractedText in licenseTexts %}{% if licenseId starts with 'LicenseRef-' %}
<spdx:hasExtractedLicensingInfo>
Expand Down
6 changes: 3 additions & 3 deletions src/spdx2/agent/template/spdx2tv-document.twig
Expand Up @@ -4,7 +4,7 @@
are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
This file is offered as-is, without any warranty.
#}
SPDXVersion: SPDX-2.0
SPDXVersion: SPDX-2.1
DataLicense: CC0-1.0

##-------------------------
Expand All @@ -27,10 +27,10 @@ Creator: Person: {{ userName }}
Creator: Organization: {{ organisation }}
{% endif %}
CreatorComment: <text>
This document was created using license informations and a generator from Fossology.
This document was created using license information and a generator from Fossology.
</text>
Created: {{ 'now'|date('Y-m-d\\TH:i:s\\Z')}}
LicenseListVersion: 2.0
LicenseListVersion: 2.6

##-------------------------
## Package Information
Expand Down

0 comments on commit 279d41e

Please sign in to comment.