Bug 2219549

Summary: Missing license in the License field
Product: [Fedora] Fedora Reporter: Štěpán Horáček <shoracek>
Component: tss2Assignee: Jerry Snitselaar <jsnitsel>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: jsnitsel, kgoldman, lo1, shoracek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Štěpán Horáček 2023-07-04 09:21:45 UTC
The spec file's License field does not contain the Trusted Computing Group license, even though the license file does contain it.

Reproducible: Always

Steps to Reproduce:
1. List the licenses (e.g. by using `rpm -q tss2 --queryformat "%{license}\n"`).
Actual Results:  
BSD

Expected Results:  
BSD and TCGL

Comment 1 Štěpán Horáček 2023-07-04 09:30:11 UTC
There is a relevant GitLab issue for adding the license as allowed in Fedora: https://gitlab.com/fedora/legal/fedora-license-data/-/issues/24

Comment 2 Jerry Snitselaar 2023-07-05 16:13:31 UTC
It looks like it should be:

License: BSD-3-Clause AND TCGL

One thing I just noticed though is that the TCGL isn't listed on the SPDX website license list [1].

[1] https://spdx.org/licenses/

Comment 3 Štěpán Horáček 2023-07-07 11:13:17 UTC
Thank you for the correction. Using the SPDX format instead of the legacy one makes more sense.

TCGL not being listed is part of the problem. Originally, it was not added because the only package listing it as their license was tpm2-tss, which listed it erroneously. I would think adding it is a part of the GitLab issue I linked.

Comment 4 Fedora Release Engineering 2023-08-16 08:11:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.