Bug 2006997 - Review Request: rust-wasmtime-types - WebAssembly type definitions for Cranelift
Summary: Review Request: rust-wasmtime-types - WebAssembly type definitions for Cranelift
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-22 19:16 UTC by Olivier Lemasle
Modified: 2021-09-22 22:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-09-22 22:39:09 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Olivier Lemasle 2021-09-22 19:16:01 UTC
Spec URL: https://olem.fedorapeople.org/rust-wasmtime-types.spec
SRPM URL: https://olem.fedorapeople.org/rust-wasmtime-types-0.30.0-1.fc35.src.rpm

Description:
WebAssembly type definitions for Cranelift.

Fedora Account System Username: olem

Comment 1 Olivier Lemasle 2021-09-22 19:17:08 UTC
Scratch build (in f36-build-side-46075): https://koji.fedoraproject.org/koji/taskinfo?taskID=76125667

Comment 2 Fabio Valentini 2021-09-22 19:39:45 UTC
I'll take this review.

Package looks good (generated with rust2rpm without modifications), but there's one blocking issue (from my point of view):

The crate uses a nonstandard license (Apache-2.0 WITH LLVM-Excpetion), for which we'd need to have the actual license text included in published crates, and then included in the `-devel` subpackage of this crate with "%license".

(Even if the project used the standard Apache-2.0 license, including the license text with redistributed sources is *mandatory* according to the license terms. So upstream technically isn't even in compliance with the terms of their own chosen license, since they publish and redistribute it via crates.io *without* the license text ...)

Comment 3 Olivier Lemasle 2021-09-22 20:16:14 UTC
You're right, thanks. I had indeed previously added the LICENSE file in some other wasmtime crates; I forgot to add it here.

I've opened a PR upstream: https://github.com/bytecodealliance/wasmtime/pull/3382

Should I include the LICENSE file directly in the srpm in the meantime?

Comment 4 Fabio Valentini 2021-09-22 20:24:20 UTC
> Should I include the LICENSE file directly in the srpm in the meantime?

Yes, please. Just include the same file that you added with the PR, once it's merged.
The file can then be removed in favor of the "real one" as soon as a published version has it.

Comment 5 Olivier Lemasle 2021-09-22 21:03:55 UTC
I've updated the package to include the license file:

Spec URL: https://olem.fedorapeople.org/reviews/rust-wasmtime-types.spec
SRPM URL: https://olem.fedorapeople.org/reviews/rust-wasmtime-types-0.30.0-2.fc35.src.rpm

Comment 6 Fabio Valentini 2021-09-22 21:17:04 UTC
Looks good to me now. You didn't have to include a separate changelog entry for this small change :)

=============

Final review:

Simplified review, because this is a standard Rust package that was generated with rust2rpm.

- package builds successfully on rawhide (see koji scratch build)
- test suite is run and all unit tests pass (there are no tests in this crate)
- latest version of the crate is packaged
- license matches upstream specification and is acceptable for Fedora (ASL 2.0 with exceptions)
- license file has been submitted upstream and is included with %license in %files
- package complies with Rust Packaging Guidelines

Package APPROVED.

Please don't forget to also request f35 and f34 branches for your package.

(Pro tip: You can do that before the repository exists by using the "--repo" flag for "fedpkg request-branch, since these requests are processed chronologically.
So this works fine so long as you request the repository first, and any branches second. This reduces the waiting time from two to one round-trip-time with the fedora-scm-requests ticket queue.)

Comment 8 Gwyn Ciesla 2021-09-22 21:31:30 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-wasmtime-types

Comment 9 Olivier Lemasle 2021-09-22 22:39:09 UTC
Package now in rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ef80258c07


Note You need to log in before you can comment on or make changes to this bug.