Skip to content

Commit 1f364f0

Browse files
committed
Fixed #325 - Update Spec doc
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 18cee00 commit 1f364f0

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

SPECIFICATION.rst

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ In this example the value of the description field spans multiple lines::
129129
description: This is a long description for a software component that spans
130130
multiple lines with arbitrary line breaks.
131131

132+
Alternatively, multiple-line strings can be written either as a 'literal block'
133+
(using |), or a 'folded block' (using '>').
134+
135+
description: >
136+
This is a long description for a software component that spans
137+
multiple lines with arbitrary line breaks.
138+
139+
or
140+
141+
description: |
142+
This is a long description for a software component that spans
143+
multiple lines with arbitrary line breaks.
144+
132145

133146
Fields are mandatory or optional
134147
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -184,11 +197,6 @@ ABOUT file. The file content must be UTF-8-encoded text. This is in contrast
184197
with field values contained directly in an ABOUT file that must be US-ASCII-
185198
encoded text and allows to support non-ASCII text content.
186199

187-
When an ABOUT file contains both a field name and a _file-suffixed field for the
188-
same field name, both fields must be treated as multiple occurrences of the same
189-
field name. This must be interpreted such that only the last occurrence is
190-
considered as the value for this field name.
191-
192200
For example, the full license text for a component is often stored in a separate
193201
file named COPYING::
194202

0 commit comments

Comments
 (0)