Bug 2081385

Summary: Review Request: rust-local-waker - Synchronization primitive for thread-local task wakeup
Product: [Fedora] Fedora Reporter: Anderson Sasaki <ansasaki>
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: 2022-05-04 17:10:16 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:

Description Anderson Sasaki 2022-05-03 15:01:41 UTC
Spec URL: https://ansasaki.fedorapeople.org/rust-local-waker.spec
SRPM URL: https://ansasaki.fedorapeople.org/rust-local-waker-0.1.3-1.fc35.src.rpm
Description: Synchronization primitive for thread-local task wakeup
Fedora Account System Username: ansasaki

Copr build:https://copr.fedorainfracloud.org/coprs/ansasaki/rust-local-waker/build/4360497/

This is a build dependency added for the new version of rust-actix-utils.

Comment 1 Fabio Valentini 2022-05-04 10:06:08 UTC
Have you really generated this .spec file with rust2rpm?
The %license lines in %files do not match what's generated by the latest version.

Comment 2 Anderson Sasaki 2022-05-04 10:26:25 UTC
(In reply to Fabio Valentini from comment #1)
> Have you really generated this .spec file with rust2rpm?
> The %license lines in %files do not match what's generated by the latest
> version.

Yes, I used rust2rpm. The difference was because of missing license files on version 0.1.2 which I reported upstream via:

https://github.com/actix/actix-net/issues/456

That resulted on a #fixme line which I modified manually.
The crate was then updated to version 0.1.3 which included the missing license files, but I did not re-generate the spec file using rust2rpm.

I'll re-generate the spec file and run another build on Copr.

Comment 4 Fabio Valentini 2022-05-04 11:08:16 UTC
Thanks, looks good to me now.

===

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
- license matches upstream specification (MIT or ASL 2.0) and is acceptable for Fedora
- license files are included with %license in %files
- package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- add @rust-sig with "commit" access as package co-maintainer

- set bugzilla assignee overrides to @rust-sig (optional)

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter: alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- track package in koschei for all built branches

===

Please remember to always regenerate Rust .spec files for new crate versions with rust2rpm. This ensures that the mapping between generated subpackages and cargo features stays correct.
Otherwise you might end up with subpackages for features that no longer exist (leading to broken packages) or missing subpackages for added features (leading to broken dependencies).

Comment 5 Gwyn Ciesla 2022-05-04 13:34:24 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-local-waker

Comment 6 Fedora Update System 2022-05-04 17:06:46 UTC
FEDORA-2022-47c9f8aefa has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-47c9f8aefa

Comment 7 Fedora Update System 2022-05-04 17:10:16 UTC
FEDORA-2022-47c9f8aefa has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fabio Valentini 2022-05-21 20:55:49 UTC
Please also build this package on Fedora 36.

Otherwise I won't be able to update the Actix stack there, and the keylime-rust package will stay broken.

Comment 9 Anderson Sasaki 2022-05-23 09:45:22 UTC
(In reply to Fabio Valentini from comment #8)
> Please also build this package on Fedora 36.
> 
> Otherwise I won't be able to update the Actix stack there, and the
> keylime-rust package will stay broken.

Ok, will do.

Comment 10 Fedora Update System 2022-05-24 11:06:46 UTC
FEDORA-2022-a69bd39192 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a69bd39192

Comment 11 Fedora Update System 2022-05-25 02:38:04 UTC
FEDORA-2022-a69bd39192 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2022-a69bd39192 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a69bd39192

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

Comment 12 Fedora Update System 2022-06-02 01:32:34 UTC
FEDORA-2022-a69bd39192 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.