Bug 2026815

Summary: Review Request: rust-self_cell - Safe-to-use proc-macro-free self-referential structs in stable Rust
Product: [Fedora] Fedora Reporter: Link Dupont <link>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---Flags: decathorpe: fedora-review+
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: 2021-12-11 01:31:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Fabio Valentini 2021-11-26 11:17:38 UTC
Package looks good to me, with one flaw from the upstream project ...

Both the LICENSE and the README.md file are implicitly excluded from published crates:
https://github.com/Voultapher/self_cell/blob/main/Cargo.toml#L16

Please open an issue or PR with upstream to explicitly include at least the LICENSE file.
The terms of the Apache-2.0 license require redistributed sources to contain the license text.

You can either wait until this is rectified in a new upstream release, or include the LICENSE file from github manually, until the first one happens:
https://github.com/Voultapher/self_cell/blob/v0.10.1/LICENSE

Either of those is acceptable here, and I'll finish the review once either are done.

Comment 2 Link Dupont 2021-11-26 20:26:29 UTC
I opened a PR[1] upstream to include the license in the crate. I also updated the spec to include the license as a second source file an drop it into the build directory during %prep so that it's included in the files list.

1: https://github.com/Voultapher/self_cell/pull/34

Comment 4 Fabio Valentini 2021-11-27 22:44:32 UTC
Looks good to me. Please add a comment with a link to the PR mentioned in Comment 2.
Alternatively, package 0.10.2 directly, it should contain the files we need.

Other than that:

Package was generated with rust2rpm, simplifying the review.

- package builds and installs without errors on rawhide
- test suite is run and all unit tests pass
- latest version of the crate is packaged (0.10.2 is code-identical to 0.10.1, but included the LICENSE file we want)
- license matches upstream specification and is acceptable for Fedora
- license file is included with %license in %files
- package complies with Rust Packaging Guidelines

Package APPROVED.

Comment 5 Igor Raits 2021-11-28 12:59:33 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-self_cell

Comment 6 Fedora Update System 2021-11-29 18:18:59 UTC
FEDORA-2021-01f7520709 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

Comment 7 Fedora Update System 2021-11-30 02:20:26 UTC
FEDORA-2021-01f7520709 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-01f7520709 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-12-02 17:50:15 UTC
FEDORA-2021-01f7520709 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

Comment 9 Fedora Update System 2021-12-03 01:49:07 UTC
FEDORA-2021-01f7520709 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-01f7520709 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-01f7520709

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-12-11 01:31:22 UTC
FEDORA-2021-01f7520709 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.