Bug 2500839 - Review Request: rust-smbios-lib - SMBIOS Library
Summary: Review Request: rust-smbios-lib - SMBIOS Library
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: 43
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-15 09:20 UTC by Matias Ezequiel Vara Larsen
Modified: 2026-08-31 15:38 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-31 15:38:42 UTC
Type: ---
Embargoed:
crobinso: fedora-review+


Attachments (Terms of Use)

Description Matias Ezequiel Vara Larsen 2026-07-15 09:20:13 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/matiasv/rust-smbios-lib/fedora-43-x86_64/10737504-rust-smbios-lib/rust-smbios-lib.spec

SRPM URL: https://download.copr.fedorainfracloud.org/results/matiasv/rust-smbios-lib/fedora-43-x86_64/10737504-rust-smbios-lib/rust-smbios-lib-0.9.3-1.fc43.src.rpm


An SMBIOS Library created in Rust that reads and parses raw BIOS data.

It supports DMTF System Management BIOS (SMBIOS) Reference Specification 3.7.0
on Linux, macOS, and Windows.

Upstream: https://github.com/jrgerber/smbios-lib
Crates.io: https://crates.io/crates/smbios-lib

Successful Copr build: https://copr.fedorainfracloud.org/coprs/matiasv/rust-smbios-lib/builds/

This is my first package and I am looking for a sponsor.

I need this crate packaged as a dependency for another project I am working on
(libcryptsetup-token-tdx-kbs).

Reproducible: Always

Comment 1 Cole Robinson 2026-07-15 14:46:04 UTC
spec file link is not working, but you can get it from next to the srpm: https://download.copr.fedorainfracloud.org/results/matiasv/rust-smbios-lib/fedora-43-x86_64/10702842-rust-smbios-lib/rust-smbios-lib.spec

Can you add a new comment with that link? It helps tools like `fedora-review`

You should also add fedora 44 and fedora rawhide chroots to your copr build and make sure it passes there. Building on rawhide is the required piece for new packages

spec file has a comment about rust2rpm 25 which is quite old. Make sure you are using rust2rpm 28 which is latest version available in all stable fedora AFAICT

Comment 4 Cole Robinson 2026-07-17 13:22:49 UTC
When posting updated packaging, please use formatting something like

spec URL: X
srpm URL: Y

src.rpm is often a necessary component since it contains any patches, if there are custom patches. But I found the srpm so we are good.

The spec file has `License: FIXME`. License value for this case should be

  License: MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)

(Look for `BEGIN LICENSE SUMMARY` in the build output and then AND those together to get that value)

Besides that, the only difference in the spec from stock rust2rpm output is disabling tests that aren't expected to pass, which is fine.
Hopefully those are covered by a rust2rpm.toml config so it's easy to reproduce on future updates.

I confirmed this builds and installs on rawhide, so it all looks good. Just post with fixed license tag and I'll approve.

Comment 5 Cole Robinson 2026-07-17 13:36:42 UTC
Hmm ok another thing I noticed. There's an `smbios-lib` subpackage which actually only contains one binary, `smbiosdump`. If you don't need that binary for your needs, I'd suggest adding `cargo-install-bin = false` to rust2rpm.toml. It can be added later if anyone cares. But if you want to distribute the binary, use bin-package-name='smbiosdump' in rust2rpm.toml, so that package is named more appropriately

Comment 6 Matias Ezequiel Vara Larsen 2026-07-17 15:58:48 UTC
spec URL: https://download.copr.fedorainfracloud.org/results/matiasv/rust-smbios-lib/fedora-43-x86_64/10738482-rust-smbios-lib/rust-smbios-lib.spec

srpm URL: https://download.copr.fedorainfracloud.org/results/matiasv/rust-smbios-lib/fedora-43-x86_64/10738482-rust-smbios-lib/rust-smbios-lib-0.9.3-1.fc43.src.rpm


An SMBIOS Library created in Rust that reads and parses raw BIOS data.

It supports DMTF System Management BIOS (SMBIOS) Reference Specification 3.7.0
on Linux, macOS, and Windows.

Upstream: https://github.com/jrgerber/smbios-lib
Crates.io: https://crates.io/crates/smbios-lib

Successful Copr build: https://copr.fedorainfracloud.org/coprs/matiasv/rust-smbios-lib/builds/

I need this crate packaged as a dependency for another project I am working on
(libcryptsetup-token-tdx-kbs).

Reproducible: Always

rust2rpm.toml:
``` 
[package]
cargo-install-bin = false

[tests]
run = ["lib", "bins"]
skip = ["unix::platform::tests::test_dev_mem_scan"]
comments = ["Integration tests and test_dev_mem_scan require access to /dev/mem and /sys/firmware which are unavailable in build environments"]
```

Comment 7 Cole Robinson 2026-07-17 16:05:47 UTC
+ spec is rust2rpm + rust2rpm.toml output without any manual changes
+ builds on rawhide
+ installs on rawhide
+ content looks fine
 
setting fedora-review+

I can sponsor you, I'll follow up for that

Comment 8 Cole Robinson 2026-07-17 16:20:38 UTC
Ok you are in the packager group now. I think we just wait for package creation process to happen

Comment 9 Fedora Admin user for bugzilla script actions 2026-07-21 09:33:22 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-smbios-lib
Monitoring:
Anitya project is accessible by this link 
`https://release-monitoring.org/project/391274`
 you can modify it manually.
Package was created in Anitya

Comment 10 Fabio Valentini 2026-07-22 15:49:10 UTC
FYI, the project that was created ↑ here was broken, I fixed it:
https://release-monitoring.org/project/391274/

Not sure what caused wrong settings to get used for it.


Note You need to log in before you can comment on or make changes to this bug.