Bug 2051263

Summary: license tag for rbspy subpackage incorrect / incomplete, missing bundled() Provides on EPEL8
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: rust-rbspyAssignee: Davide Cavalca <davide>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: davide
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-rbspy-0.12.1-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-29 00:51:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabio Valentini 2022-02-06 20:46:51 UTC
This package has a similar problem as rust-below:
https://bugzilla.redhat.com/show_bug.cgi?id=2045491

TL;DR: The license of the package that contains the binary is wrong (since it inherits only "License: MIT" from the source package), but it is a statically linked binary that contains code from all Rust crate dependencies (which are 100% not all "MIT" licensed).

Additionally, while this crate contains the logic for building with vendored crate dependencies, it does not contain the logic for adding "Provided: bundled(crate(foo)) = v1.2.3" for the bundled crates, which is required in that case. You can look at 389-ds-base for an example of how that list should look:

https://src.fedoraproject.org/rpms/389-ds-base/blob/rawhide/f/389-ds-base.spec#_67

It's the only case of a package that builds from bundled crates that does this correctly, but it also does not list the licenses for those bundled crates, so I guess ~nobody does this completely right. :(

Comment 1 Ben Cotton 2022-02-08 20:11:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Fedora Update System 2022-07-29 00:47:13 UTC
FEDORA-2022-4f58f2c39c has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4f58f2c39c

Comment 3 Fedora Update System 2022-07-29 00:51:01 UTC
FEDORA-2022-4f58f2c39c has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.