Bug 2327093 - Review Request: rust-rustc-demangle-capi - C API for the rustc-demangle crate
Summary: Review Request: rust-rustc-demangle-capi - C API for the rustc-demangle crate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/rustc-demang...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-18 19:17 UTC by Ben Beasley
Modified: 2025-03-25 01:22 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-16 00:29:54 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
Configuration file for rust2rpm (1.56 KB, text/plain)
2024-11-18 19:19 UTC, Ben Beasley
no flags Details
Updated configuration file for rust2rpm (1.60 KB, text/plain)
2024-11-18 19:39 UTC, Ben Beasley
no flags Details
The .spec file difference from Copr build 8277182 to 8277214 (1.35 KB, patch)
2024-11-18 19:47 UTC, Fedora Review Service
no flags Details | Diff

Description Ben Beasley 2024-11-18 19:17:01 UTC
Spec URL: https://music.fedorapeople.org/rust-rustc-demangle-capi.spec
SRPM URL: https://music.fedorapeople.org/rust-rustc-demangle-capi-0.1.0-1.fc41.src.rpm
Description: C API for the `rustc-demangle` crate.
Fedora Account System Username: music

Comment 1 Ben Beasley 2024-11-18 19:19:27 UTC
Created attachment 2058562 [details]
Configuration file for rust2rpm

Some minor manual changes to the spec file were still needed to get the License field and %files list in the rustc-demangle-capi subpackage right, and to add a rustc-demangle-capi-devel subpackage.

Comment 2 Fedora Review Service 2024-11-18 19:26:48 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8277182
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2327093-rust-rustc-demangle-capi/fedora-rawhide-x86_64/08277182-rust-rustc-demangle-capi/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
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 2024-11-18 19:27:31 UTC
Not committing (yet) to do a formal review of this package - just wanted to ask whether it might make sense to rename the built "binary" package and the manually added "-devel" package?

The shipped library is "librustc_demangle.so", so I think the "expected" package names would be "librustc_demangle" and "librustc_demangle-devel".
Having the package names be "rustc-demangle-capi" and "rustc-demangle-capi-devel" would be a bit weird ("-n %crate" is just the name generated by rust2rpm, but for shared libraries, we override this in almost all existing packages).

Comment 4 Ben Beasley 2024-11-18 19:29:28 UTC
I wouldn’t claim that we have any real consistency in how we name packages providing shared libraries across Fedora as a whole, but I don’t see any reason not to implement that suggestion.

Comment 5 Ben Beasley 2024-11-18 19:39:35 UTC
Created attachment 2058563 [details]
Updated configuration file for rust2rpm

Comment 7 Fedora Review Service 2024-11-18 19:47:11 UTC
Created attachment 2058577 [details]
The .spec file difference from Copr build 8277182 to 8277214

Comment 8 Fedora Review Service 2024-11-18 19:47:13 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8277214
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2327093-rust-rustc-demangle-capi/fedora-rawhide-x86_64/08277214-rust-rustc-demangle-capi/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
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 9 Fabio Valentini 2025-03-14 17:02:05 UTC
Package was generated with rust2rpm, simplifying the review.

The way the shared library is build / installed with cargo-c and handled in the spec file looks correct.

===

✅ 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
✅ licenses of statically linked dependencies are correctly taken into account
🫤 license files are included with %license in %files (manually included from upstream for now)
✅ 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

- add @rust-sig with "commit" access as package co-maintainer
  (should happen automatically)

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

- track package in koschei for all built branches
  (should happen automatically once rust-sig is co-maintainer)

Comment 10 Ben Beasley 2025-03-15 23:57:58 UTC
Thank you for the review!

Thank you for the review!

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

Comment 11 Fedora Admin user for bugzilla script actions 2025-03-15 23:58:54 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-rustc-demangle-capi

Comment 12 Fedora Update System 2025-03-16 00:26:41 UTC
FEDORA-2025-0ab903f938 (rust-rustc-demangle-capi-0.1.0-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0ab903f938

Comment 13 Fedora Update System 2025-03-16 00:29:54 UTC
FEDORA-2025-0ab903f938 (rust-rustc-demangle-capi-0.1.0-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-03-16 00:42:42 UTC
FEDORA-2025-aa6e3730ee (python-uharfbuzz-0.46.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-aa6e3730ee

Comment 15 Fedora Update System 2025-03-16 00:44:05 UTC
FEDORA-2025-823bd7664f (rust-rustc-demangle-capi-0.1.0-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-823bd7664f

Comment 16 Fedora Update System 2025-03-16 00:44:53 UTC
FEDORA-2025-aa6e3730ee (python-uharfbuzz-0.46.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2025-03-16 01:06:03 UTC
FEDORA-2025-592d32c7f9 (rust-rustc-demangle-capi-0.1.0-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-592d32c7f9

Comment 18 Fedora Update System 2025-03-16 01:17:02 UTC
FEDORA-2025-7833b1703c (rust-rustc-demangle-capi-0.1.0-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7833b1703c

Comment 19 Fedora Update System 2025-03-16 01:26:01 UTC
FEDORA-2025-54d655e960 (python-uharfbuzz-0.46.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-54d655e960

Comment 20 Fedora Update System 2025-03-16 10:46:34 UTC
FEDORA-EPEL-2025-8fb433e522 (rust-rustc-demangle-capi-0.1.0-2.el10_1) has been submitted as an update to Fedora EPEL 10.1.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-8fb433e522

Comment 21 Fedora Update System 2025-03-16 11:02:20 UTC
FEDORA-EPEL-2025-b1e0d7b740 (rust-rustc-demangle-capi-0.1.0-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-b1e0d7b740

Comment 22 Fedora Update System 2025-03-17 01:28:24 UTC
FEDORA-2025-592d32c7f9 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-592d32c7f9 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-592d32c7f9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2025-03-17 02:20:49 UTC
FEDORA-EPEL-2025-8fb433e522 has been pushed to the Fedora EPEL 10.1 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-8fb433e522

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2025-03-17 02:41:41 UTC
FEDORA-EPEL-2025-b1e0d7b740 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-b1e0d7b740

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2025-03-17 02:53:20 UTC
FEDORA-2025-7833b1703c has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7833b1703c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7833b1703c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2025-03-17 03:04:08 UTC
FEDORA-2025-823bd7664f has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-823bd7664f \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-823bd7664f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Fedora Update System 2025-03-17 03:04:12 UTC
FEDORA-2025-54d655e960 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-54d655e960 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-54d655e960

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 28 Fedora Update System 2025-03-25 00:15:36 UTC
FEDORA-2025-823bd7664f (rust-rustc-demangle-capi-0.1.0-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 29 Fedora Update System 2025-03-25 00:33:17 UTC
FEDORA-EPEL-2025-8fb433e522 (rust-rustc-demangle-capi-0.1.0-2.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 30 Fedora Update System 2025-03-25 00:58:10 UTC
FEDORA-2025-7833b1703c (rust-rustc-demangle-capi-0.1.0-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 31 Fedora Update System 2025-03-25 01:10:50 UTC
FEDORA-EPEL-2025-b1e0d7b740 (rust-rustc-demangle-capi-0.1.0-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 32 Fedora Update System 2025-03-25 01:22:54 UTC
FEDORA-2025-592d32c7f9 (rust-rustc-demangle-capi-0.1.0-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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