Spec URL: https://kalev.fedorapeople.org/rust-mutate_once.spec SRPM URL: https://kalev.fedorapeople.org/rust-mutate_once-0.1.1-1.fc38.src.rpm Description: Interior mutability, write-once and borrowable as plain &T. Fedora Account System Username: kalev Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=94882531
I think you'll need to include a license file. It's literally clause 1 of the BSD-2-Clause license: > 1. Redistributions of source code must retain the above copyright notice, this > list of conditions and the following disclaimer.
As an alternative, it might be possible to migrate the code that uses this crate to use the once_cell crate, instead? https://crates.io/crates/once_cell It's pretty much the standard solution for the "set once, read many" problem nowadays, it's actively maintained, and its functionality is probably going to be merged into the Rust standard library at some point: https://github.com/rust-lang/rfcs/pull/2788
Sorry for the slow reply! I filed https://github.com/kamadak/mutate_once-rs/issues/1 together with the package review request and upstream just added a LICENSE file in the repository. Let me add that to the downstream packaging now.
Yes, you can include the upstream license text as a separate source and include it in the package manually until upstream publishes a new release, i.e. something like Source1: https://github.com/kamadak/mutate_once-rs/raw/0dc8ba7/LICENSE %prep (...) cp -pav %{SOURCE1} . %files %license %{crate_instdir}/LICENSE (...)
* Thu Mar 23 2023 Kalev Lember <klember> - 0.1.1-2 - Add missing LICENSE file from upstream Spec URL: https://kalev.fedorapeople.org/rust-mutate_once.spec SRPM URL: https://kalev.fedorapeople.org/rust-mutate_once-0.1.1-2.fc39.src.rpm Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=99062739
Copr build: https://copr.fedorainfracloud.org/coprs/build/5701570 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2150509-rust-mutate_once/fedora-rawhide-x86_64/05701570-rust-mutate_once/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.
Thanks for the update! Looks good to me now. === 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 (BSD-2-Clause) and is acceptable for Fedora - license file is included with %license in %files (manually included until next release) - 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
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-mutate_once
Thank you! Package imported and build is under way.