Bug 2491277

Summary: Review Request: rust-cpubits - Compile-time detection heuristics for optimal target CPU word size
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: Package ReviewAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---Flags: decathorpe: fedora-review+
Hardware: All   
OS: Linux   
URL: https://crates.io/crates/cpubits
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-06-22 15:52:15 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:
Bug Depends On:    
Bug Blocks: 2457288    
Attachments:
Description Flags
Configuration file for rust2rpm none

Description Ben Beasley 2026-06-22 05:56:05 UTC
Created attachment 2146204 [details]
Configuration file for rust2rpm

Spec URL: https://music.fedorapeople.org/rust-cpubits.spec
SRPM URL: https://music.fedorapeople.org/rust-cpubits-0.1.1-1.fc44.src.rpm

Description:

Compile-time detection heuristics for the optimal word size to use for
the target CPU, which in some cases may differ from its address size
a.k.a. `target_pointer_width`. Implemented as `macro_rules!`.

Fedora Account System Username: music

This is a new dependency for rust-aes version 0.9.x. It’s very small and straightforward.

Comment 1 Fedora Review Service 2026-06-22 05:59:25 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10623457
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2491277-rust-cpubits/fedora-rawhide-x86_64/10623457-rust-cpubits/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Fedora Review Service 2026-06-22 05:59:35 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10623454
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2491277-rust-cpubits/fedora-rawhide-x86_64/10623454-rust-cpubits/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Fabio Valentini 2026-06-22 12:21:33 UTC
Package was generated with rust2rpm, simplifying the review.

Deviations from rust2rpm generated spec file are documented and justified:

- Not marking README.md as %doc when it's included verbatim in source code during the build is nice, even if this only causes problems in non-standard build environments.
- Fixing the auto-generated summary (which is truncated in an unfortunate position).

✅ package contains only permissible content
✅ 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 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:

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

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

Comment 4 Ben Beasley 2026-06-22 13:02:23 UTC
Thank you for the review!

https://release-monitoring.org/project/390787/

Comment 5 Fedora Admin user for bugzilla script actions 2026-06-22 14:43:35 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cpubits
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 6 Fedora Update System 2026-06-22 14:54:29 UTC
FEDORA-2026-375394e4c7 (rust-cpubits-0.1.1-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-375394e4c7

Comment 7 Fedora Update System 2026-06-22 15:52:15 UTC
FEDORA-2026-375394e4c7 (rust-cpubits-0.1.1-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.