Bug 2187670 - Review Request: rust-cargo-options - Reusable common Cargo command line options
Summary: Review Request: rust-cargo-options - Reusable common Cargo command line options
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Maxwell G
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2187698
TreeView+ depends on / blocked
 
Reported: 2023-04-18 12:18 UTC by Fabio Valentini
Modified: 2023-04-19 17:00 UTC (History)
2 users (show)

Fixed In Version: rust-cargo-options-0.6.0-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-19 17:00:52 UTC
Type: ---
Embargoed:
maxwell: fedora-review+


Attachments (Terms of Use)

Description Fabio Valentini 2023-04-18 12:18:04 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-cargo-options.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-cargo-options-0.6.0-1.fc38.src.rpm

Description:
Reusable common Cargo command line options.

Fedora Account System Username: decathorpe

Comment 1 Fabio Valentini 2023-04-18 12:18:07 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=100098622

Comment 2 Maxwell G 2023-04-18 22:35:23 UTC
This package was generated using rust2rpm, which simplifies the review.

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


- [x] The specfile is sane.
- [x] The latest version is packaged or packaging an earlier version is justified.
- [x] The License tag uses the correct identifiers, and it reflects the package contents and Cargo metadata.
- [x] The license text is included in the package and is marked with %license.
- [x] The package builds successfully in mock.
- [x] Package is installable (checked by fedora-review).
- [x] There are no relevant rpmlint errors. (There are some warnings about zero length test files.)
- [-] (Justified with a comment in the specfile) The package runs tests in %check.
- [x] The package complies with the Rust and general Packaging Guidelines.

Package approved. Thanks!

Comment 3 Maxwell G 2023-04-18 22:41:36 UTC
> (There are some warnings about zero length test files.)

Hmm, should the tests be excluded from the package all together? In other packaging ecosystems I'm involved with (e.g. Python and Ansible collections), it's standard to remove the tests from the built package even if upstream installs them, but I'm not sure if Rust is different in this regard.

Comment 4 Fabio Valentini 2023-04-19 16:21:02 UTC
Thanks for the review!

> Hmm, should the tests be excluded from the package all together?

Usually the test sources don't hurt, and we don't remove them unless they include problematic things like architecture-specific binaries or other large test fixtures like images.

> but I'm not sure if Rust is different in this regard.

Not really, but we don't have Guidelines for it, so it's more done on a case-by-case basis.

Comment 5 Fedora Admin user for bugzilla script actions 2023-04-19 16:22:03 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cargo-options

Comment 6 Fabio Valentini 2023-04-19 17:00:52 UTC
Imported and built for rawhide:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-38a733702d


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