package.dtd: add enc attribute to <license>

This commit is contained in:
Fabio Erculiani
2013-06-15 17:30:28 +02:00
parent 695ed32745
commit e3c5486a51
2 changed files with 6 additions and 4 deletions

View File

@@ -61,8 +61,10 @@
Multiple license elements can be specified. The license
name points to a license text. -->
<!ELEMENT licenses (license+)>
<!ELEMENT license (#PCDATA)> <!-- the license text, base64 encoded. -->
<!ATTLIST license name CDATA #REQUIRED>
<!ELEMENT license (#PCDATA?)> <!-- the license text, base64 encoded. -->
<!ATTLIST license
name CDATA #REQUIRED
enc (plain | base64) #REQUIRED>
<!-- The package trigger code, in base64 format. -->
<!ELEMENT trigger (#PCDATA)>

View File

@@ -11,8 +11,8 @@
<branch>5</branch>
<slot>0,3.9.0-sabayon</slot>
<licenses>
<license name="GPL-2">This is foo bar.</license>
<license name="NVIDIA">This is bar baz.</license>
<license name="GPL-2" enc="plain">This is foo bar.</license>
<license name="NVIDIA" enc="plain">This is bar baz.</license>
</licenses>
<trigger>0</trigger>
<description>NVIDIA GPUs kernel drivers</description>