Bug 2583563

Summary: Review Request: rust-replace_with - Temporarily take ownership of a value at a mutable location
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:

Description Larvitz 2026-11-24 17:34:52 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/larvitz/openpgp-card-review/srpm-builds/11386592/rust-replace_with.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/larvitz/openpgp-card-review/srpm-builds/11386592/rust-replace_with-0.1.8-1.fc45.src.rpm

Description:
Temporarily take ownership of a value at a mutable location, and replace
it with a new value based on the old one.

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.

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