Bug 2254883

Summary: Review Request: rust-fend-core - Arbitrary-precision unit-aware calculator
Product: [Fedora] Fedora Reporter: Albert Larsan <albertlarsan>
Component: Package ReviewAssignee: Michel Lind <michel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: michel, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---Flags: michel: fedora-review+
Hardware: Unspecified   
OS: Unspecified   
URL: https://crates.io/crates/fend-core
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-18 17:06:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 6765362 to 6875367
none
The .spec file difference from Copr build 6875367 to 6881622 none

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.