https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Bug ID: 2116066 Summary: Review Request: rust-primal-estimate - State-of-the-art estimation of upper and lower bounds for π(n) (the number of primes below n) and p_k (the k-th prime) Product: Fedora Version: rawhide Status: NEW Component: Package Review Assignee: nobody@fedoraproject.org Reporter: orion@nwra.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://orion.fedorapeople.org/rust-primal-estimate.spec SRPM URL: https://orion.fedorapeople.org/rust-primal-estimate-0.3.1-1.fc37.src.rpm Description:
State-of-the-art estimation of upper and lower bounds for π(n) (the number of primes below n) and p_k (the k-th prime)
Fedora Account System Username: orion
Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=90541929
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Orion Poplawski orion@nwra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2116081
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2116081 [Bug 2116081] Review Request: rust-primal-slowsieve - Simple sieve of Eratosthenes designed for testing faster sieves
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Orion Poplawski orion@nwra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2116083
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2116083 [Bug 2116083] Review Request: rust-primal - `primal` puts raw power into prime numbers
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |decathorpe@gmail.com Doc Type|--- |If docs needed, set a value
--- Comment #1 from Fabio Valentini decathorpe@gmail.com --- Please open an issue with upstream to remind them that redistributed code (i.e. also the crates they individually publish and redistribute via crates.io) need to contain license files for MIT and Apache-2.0 licenses.
For reference, I've opened dozens of similar issues for other crates, like here: https://github.com/danieldg/ordered-stream/issues/1
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
--- Comment #2 from Orion Poplawski orion@nwra.com --- I've filed https://github.com/huonw/primal/issues/42
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
--- Comment #3 from Orion Poplawski orion@nwra.com --- Upstream now provides the license files.
Spec URL: https://orion.fedorapeople.org/rust-primal-estimate.spec SRPM URL: https://orion.fedorapeople.org/rust-primal-estimate-0.3.2-1.fc38.src.rpm
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |decathorpe@gmail.com Flags| |fedora-review? Status|NEW |ASSIGNED
--- Comment #4 from Fabio Valentini decathorpe@gmail.com --- Looks like you didn't regenerate the spec file with rust2rpm for 0.3.2?
# Upstream license specification: MIT/Apache-2.0
This line is no longer generated, it looks like upstream changed this to "MIT OR Apache-2.0" with v0.3.2.
Another (small) issue is the overly long Summary tag. Please shorten it so sensible length, something like
Summary: Estimation of the number of primes below n and the k-th prime instead of Summary: State-of-the-art estimation of upper and lower bounds for π(n) (the number of primes below n) and p_k (the k-th prime)
The summary shouldn't be longer than ~70 characters.
Other than that, the package looks good, and I'll approve it once those two are cleaned up.
PS: Please make sure you don't "fedpkg import" the SRPM file that you uploaded, but either copy the files manually into the new dist-git repo, or rebuild the SRPM with "rpmbuild -bs" first (which doesn't mangle rpmautospec macros).
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
--- Comment #5 from Orion Poplawski orion@nwra.com --- Okay, I believe I've fixed those issues.
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |POST Flags|fedora-review? |fedora-review+
--- Comment #6 from Fabio Valentini decathorpe@gmail.com --- Package was generated with rust2rpm, simplifying the review.
- package builds and installs without errors on rawhide x test suite is run and all unit tests pass (tests are disabled to break a dependency loop) - latest version of the crate is packaged - license matches upstream specification (MIT OR Apache-2.0) and is acceptable for Fedora - license file is included with %license in %files - package complies with Rust Packaging Guidelines
Package APPROVED.
===
Recommended post-import rust-sig tasks:
- add @rust-sig with "commit" access as package co-maintainer
- 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
===
Looks good to me now (you might want to update the bug title to match the new summary in the .spec file). You'll need to re-disable the tests before importing the package to Fedora, this modification seems to have been lost when you re-ran rust2rpm.
Just as an FYI, for Rust crates which have disabled test suites to break circular dependencies, we usually just leave the tests disabled permanently. Doing bootstrap builds is usually not worth it.
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Orion Poplawski orion@nwra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Review Request: |Review Request: |rust-primal-estimate - |rust-primal-estimate - |State-of-the-art estimation |Estimation of upper and |of upper and lower bounds |lower bounds for π(n) and |for π(n) (the number of |p_k |primes below n) and p_k | |(the k-th prime) |
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
--- Comment #7 from Gwyn Ciesla gwync@protonmail.com --- (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-primal-estimate
https://bugzilla.redhat.com/show_bug.cgi?id=2116066
Orion Poplawski orion@nwra.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |CLOSED Fixed In Version| |rust-primal-estimate-0.3.2- | |1.fc38 Resolution|--- |RAWHIDE Last Closed| |2022-09-03 03:02:55
--- Comment #8 from Orion Poplawski orion@nwra.com --- Checked in and built.
package-review@lists.fedoraproject.org