Bug 2583537

Summary: Review Request: rust-bitfields-impl - Procedural macros for the bitfields crate
Product: [Fedora] Fedora Reporter: Larvitz <fedora>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: decathorpe, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 2583538    

Description Larvitz 2026-11-24 17:29:05 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/larvitz/openpgp-card-review/srpm-builds/11386587/rust-bitfields-impl.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/larvitz/openpgp-card-review/srpm-builds/11386587/rust-bitfields-impl-3.2.4-1.fc45.src.rpm

Description:
Macro for generating flexible bitfields. Useful for low-level code
(embedded or emulators).

This is part of packaging openpgp-card-tools (oct) for Fedora, coordinated
with the Rust SIG (Fabio Valentini packages the card backend crates,
I package the rPGP side). Dependency chain for oct:
bitfields-impl -> bitfields, buffer-redux, crc24 (approved, rhbz#2569806),
replace_with, ... -> pgp -> rpgpie, openpgp-card-rpgp -> openpgp-card-tools;
sshkeys and clap_allgen are direct dependencies of openpgp-card-tools.

Version 3.x as agreed in the Rust SIG room: pgp will carry a small patch to move from bitfields 1 to 3 until upstream releases it (https://github.com/rpgp/rpgp/pull/888, queued for the next semver-breaking release). Upstream added the license text to the crates in 3.2.4 on request (https://github.com/gregorygaines/bitfields-rs/issues/86).

Builds cleanly in mock for fedora-rawhide-x86_64, all tests pass.
fedora-review: the only reported issue is the usual "File listed twice"
for %license/%doc files, which comes from the standard rust2rpm template.

Reproducible: Always