Skip to content

Commit

Permalink
Qt-LGPL-exception-1.1: Drop the trailing space from the alt match
Browse files Browse the repository at this point in the history
spdx-tools can't handle this at the moment:

On Fri, Mar 23, 2018 at 11:36:30PM +0000, Gary O'Neall wrote [1]:
> The second problem is including the trailing space in the matching
> text.  Since the matching software tokenizes and removes white
> space, it doesn't include the space in the match.  To work around
> this, just don't include any preceding or trailing white space in
> the match.

And while the extra leading whitespace in the no-prefix case isn't
very elegant, it's not a problem either.

[1]: #627 (comment)
  • Loading branch information
wking committed Mar 25, 2018
1 parent a20c078 commit 8fc9a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exceptions/Qt-LGPL-exception-1.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<notes>Used with the LGPL-2.1, which is mentioned explicitly in the exception text.</notes>
<text>
<titleText>
<p><alt name="nokia" match="|Nokia |The Qt Company ">The Qt Company </alt>Qt LGPL Exception version 1.1</p>
<p><alt name="nokia" match="|Nokia|The Qt Company">The Qt Company</alt> Qt LGPL Exception version 1.1</p>
</titleText>
<p>As an additional permission to the GNU Lesser General Public
License version 2.1, the object code form of a "work that
Expand Down

0 comments on commit 8fc9a4b

Please sign in to comment.