Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://alebastr.fedorapeople.org/review/bear/rust-granit-parser/rust-granit-parser.spec SRPM URL: https://alebastr.fedorapeople.org/review/bear/rust-granit-parser/rust-granit-parser-1.3.0-1.fc45.src.rpm Description: A YAML parser with comment and style support, written in pure Rust. Fedora Account System Username: alebastr
Spec URL: https://alebastr.fedorapeople.org/review/bear/rust-granit-parser/rust-granit-parser.spec SRPM URL: https://alebastr.fedorapeople.org/review/bear/rust-granit-parser/rust-granit-parser-2.1.0-1.fc45.src.rpm
Package looks good to me. There are a few minor things that I'll leave up to you if or how you want to address them: - Some license texts are in a hidden directory (.licenses) which is rather strange. They're correctly included and marked as %license though, so it is handled correctly - but the directory layout used by the upstream project here is odd. - There is a bunch of files that could be excluded from the built package (or from the published .crate archive, for that matter), like the ".cargo/" and ".github/" folders, and the codecov.yml file. They are all small unproblematic files though, so it's up to you whether you want to exclude them or not. === Package was generated with rust2rpm, simplifying the review. ✅❌❓🫤 ✅ package contains only permissible content ✅ package builds and installs without errors on rawhide ✅ test suite is run and all unit tests pass: The YAML test suite is skipped since the required files are not included in the published sources. This is OK. ✅ latest version of the crate is packaged ✅ license matches upstream specification and is acceptable for Fedora ✅ license files are included with %license in %files ✅ package complies with Rust Packaging Guidelines Package APPROVED. === Recommended post-import rust-sig tasks: - set up package on release-monitoring.org: project: $crate homepage: https://crates.io/crates/$crate backend: crates.io version scheme: semantic version filter (*NOT* pre-release filter): alpha;beta;rc;pre distro: Fedora Package: rust-$crate - set bugzilla assignee overrides to @rust-sig (optional)
> ✅❌❓🫤 Disregard this line, it's just a copy-paste aid that I use for my review "template" that I forgot to delete before hitting the "Save Changes" button. :)
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-granit-parser Monitoring: Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`
Thanks for the review! > - Some license texts are in a hidden directory (.licenses) which is rather strange. They're correctly included and marked as %license though, so it is handled correctly - but the directory layout used by the upstream project here is odd. The hidden directory appeared somewhere between yaml-rust and yaml-rust2 and contains historical licenses and copyrights of previous incarnations of the parser. It's definitely unorthodox and confuses cargo greatly (note how `cargo publish` picks it up, but %cargo_install does not), but in the end there's nothing wrong with this layout. > - There is a bunch of files that could be excluded from the built package Addressed during import. I'll try to send the change upstream if time permits.