Bug 2254883 - Review Request: rust-fend-core - Arbitrary-precision unit-aware calculator
Summary: Review Request: rust-fend-core - Arbitrary-precision unit-aware calculator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/fend-core
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-17 13:34 UTC by Albert Larsan
Modified: 2024-01-18 17:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-18 17:06:28 UTC
Type: ---
Embargoed:
michel: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 6765362 to 6875367 (724 bytes, patch)
2024-01-09 07:53 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 6875367 to 6881622 (1.01 KB, patch)
2024-01-11 10:45 UTC, Fedora Review Service
no flags Details | Diff

Description Albert Larsan 2023-12-17 13:34:40 UTC
Spec URL: https://albertlarsan68.fedorapeople.org/packages/rust-fend-core/rust-fend-core.spec
SRPM URL: https://albertlarsan68.fedorapeople.org/packages/rust-fend-core/rust-fend-core-1.3.3-1.fc40.src.rpm

Description:
Arbitrary-precision unit-aware calculator.

Fedora Account System Username: albertlarsan68

Comment 1 Fedora Review Service 2023-12-17 21:06:31 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6765362
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2254883-rust-fend-core/fedora-rawhide-x86_64/06765362-rust-fend-core/fedora-review/review.txt

Please take a look if any issues were found.


---
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 Michel Lind 2024-01-08 17:05:27 UTC
Do you specifically need 1.3.x for something? Otherwise, 1.4.1 just came out and 1.4.x was first release several weeks ago

Comment 3 Albert Larsan 2024-01-08 19:53:15 UTC
I do not need 1.3.x, it is just because 1.3.3 was the latest version when I made the package.

Should I post new SRPM & Specs with the 1.4.x version?

Comment 4 Michel Lind 2024-01-09 00:59:21 UTC
Yes please - if there's no reason you need the old version, do update with the latest. If it had been just a patch release I'd review now and ask you to update before importing, but since it's a minor release, might as well do it before continuing the review.

Comment 6 Fedora Review Service 2024-01-09 07:53:46 UTC
Created attachment 2007881 [details]
The .spec file difference from Copr build 6765362 to 6875367

Comment 7 Fedora Review Service 2024-01-09 07:53:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6875367
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2254883-rust-fend-core/fedora-rawhide-x86_64/06875367-rust-fend-core/fedora-review/review.txt

Please take a look if any issues were found.


---
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 8 Michel Lind 2024-01-09 17:40:38 UTC
This mostly looks fine, except... upstream does not ship the license file in the crate (sorry for not catching that earlier!). 

This is a common issue where upstream has one repo hosting multiple crates, I suggest the following:

- send one PR to https://github.com/printfn/fend symlinking the license file and any other relevant files to the individual crate directories. I normally use `cargo package --allow-dirty --no-verify` followed by `tar tf .. | grep LICENSE` to demonstrate the license files get picked up

- put the PR as a comment above a new Source: https://raw.githubusercontent.com/printfn/fend/main/LICENSE.md line

- in %prep, `cp -p %{SOURCE1} .` to copy in the license file

- in %files devel, replace #FIXME with %license %{crate_instdir}/LICENSE.md

Comment 10 Fedora Review Service 2024-01-11 10:45:12 UTC
Created attachment 2008241 [details]
The .spec file difference from Copr build 6875367 to 6881622

Comment 11 Fedora Review Service 2024-01-11 10:45:14 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6881622
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2254883-rust-fend-core/fedora-rawhide-x86_64/06881622-rust-fend-core/fedora-review/review.txt

Please take a look if any issues were found.


---
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 12 Michel Lind 2024-01-11 17:09:13 UTC
Package was generated with rust2rpm, simplifying the review.

- 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 (GPL-3.0-or-later) and is acceptable for Fedora
- [BINARY ONLY] licenses of statically linked dependencies are correctly taken into account
- license file is included with %license in %files
- package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks (use `fedora-sig-onboard onboard rust-$crate` to automate):

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

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

- 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

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

Comment 13 Fedora Admin user for bugzilla script actions 2024-01-18 08:21:28 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-fend-core

Comment 14 Fedora Update System 2024-01-18 16:57:17 UTC
FEDORA-2024-68964eed86 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-68964eed86

Comment 15 Fedora Update System 2024-01-18 17:06:28 UTC
FEDORA-2024-68964eed86 has been pushed to the Fedora 40 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.