Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://download.copr.fedorainfracloud.org/results/larvitz/openpgp-card-review/srpm-builds/11386605/rust-bitfields.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/larvitz/openpgp-card-review/srpm-builds/11386605/rust-bitfields-3.2.4-1.fc45.src.rpm Description: Procedural macro for generating bitfields from Rust structures and bit flags from enumerations, for defining packed binary layouts in low-level code. 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. Depends on rust-bitfields-impl (separate review request, see Depends On). The dummy-alloc dev-dependency (not packaged) is dropped, and the trybuild compile-fail tests are skipped since they compare rustc error output. 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). 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