Bug 2284291 - Review Request: rust-apple-bom - Apple Bill of Materials (BOM) data format
Summary: Review Request: rust-apple-bom - Apple Bill of Materials (BOM) data format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/apple-bom
Whiteboard:
Depends On: 2284284
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-02 16:15 UTC by Davide Cavalca
Modified: 2024-07-21 02:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-12 16:06:26 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Davide Cavalca 2024-06-02 16:15:02 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-apple-bom/rust-apple-bom.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-apple-bom/rust-apple-bom-0.2.0-1.fc41.src.rpm

Description:
Apple Bill of Materials (BOM) data format.

Fedora Account System Username: dcavalca

Comment 1 Fedora Review Service 2024-06-02 22:00:12 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7522385
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2284291-rust-apple-bom/fedora-rawhide-x86_64/07522385-rust-apple-bom/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 2 Fabio Valentini 2024-07-09 15:14:37 UTC
> %package     -n %{crate}
> Summary:        %{summary}
> # FIXME: paste output of %%cargo_license_summary here
> License:        # FIXME
> # LICENSE.dependencies contains a full license breakdown
> 
> %description -n %{crate} %{_description}
> 
> %files       -n %{crate}
> %license LICENSE-APACHE
> %license LICENSE-MIT
> %license LICENSE.dependencies
> %doc CHANGELOG.md
> %doc README.md
> %{_bindir}/odumpbom

Looks like you missed that this provides a binary too?

If you only need the library interface, I would recommend to use a rust2rpm.toml config file with

```
[package]
cargo-install-bin = false
```

Comment 3 Davide Cavalca 2024-07-09 15:37:31 UTC
Ah good catch, we should keep the binary too as it can be useful here.

Spec URL: https://dcavalca.fedorapeople.org/review/rust-apple-bom/rust-apple-bom.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-apple-bom/rust-apple-bom-0.2.0-1.fc41.src.rpm

Changelog:
- add license tag for binary subpackage

Comment 4 Fabio Valentini 2024-07-11 10:34:06 UTC
Thanks, looks good to me.

You can simplify the license tag to "MIT AND (Apache-2.0 OR MIT)" though. keeping the second "MIT OR Apache-2.0" is redundant.

You might also want to think about whether the name of the application package is OK. Should it really be "apple-bom" or would "odumpbom" to match the binary name be more appropriate?

===

Package was generated with rust2rpm, simplifying the review.

✅ 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
✅ 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: 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 5 Fedora Admin user for bugzilla script actions 2024-07-12 14:56:33 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-apple-bom

Comment 6 Fedora Update System 2024-07-12 15:06:25 UTC
FEDORA-2024-5966fd9217 (rust-apple-bom-0.2.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5966fd9217

Comment 7 Fedora Update System 2024-07-12 15:37:12 UTC
FEDORA-2024-037c6464f5 (rust-apple-bom-0.2.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-037c6464f5

Comment 8 Fedora Update System 2024-07-12 15:53:56 UTC
FEDORA-2024-b75c17f2d8 (rust-apple-bom-0.2.0-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b75c17f2d8

Comment 9 Fedora Update System 2024-07-12 16:06:26 UTC
FEDORA-2024-5966fd9217 (rust-apple-bom-0.2.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-07-13 03:06:19 UTC
FEDORA-2024-037c6464f5 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-2024-037c6464f5 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-037c6464f5

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

Comment 11 Fedora Update System 2024-07-13 03:34:22 UTC
FEDORA-2024-b75c17f2d8 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b75c17f2d8 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b75c17f2d8

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

Comment 12 Fedora Update System 2024-07-21 01:40:00 UTC
FEDORA-2024-037c6464f5 (rust-apple-bom-0.2.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2024-07-21 02:15:27 UTC
FEDORA-2024-b75c17f2d8 (rust-apple-bom-0.2.0-1.fc39) has been pushed to the Fedora 39 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.