https://bugzilla.redhat.com/show_bug.cgi?id=2352566



--- Comment #4 from Jeremy Cline <[email protected]> ---
(In reply to Fabio Valentini from comment #3)
> Taking this review.
> 
> Package looks mostly good, just two minor issues:
> 
> 1.
> 
> > # prevent executables from being installed
> > %global cargo_install_bin 0
> 
> This is a noop.
> You're already patching out the only [[bin]] target with the Cargo.toml
> patch, so I would recommend to drop those two lines.

Ah, thanks. This was leftover from before I opted to patch out the bin target,
as even if I hid the feature flag it required rust2rpm was still generating a
cargo build command with `-f client-cli`. I've dropped this.

> 
> 2.
> 
> The file src/serdes/serde.py has a GPLv2 license header, which doesn't match
> the MIT license of the crate.
> It looks like it is only used for testing compatibility with the Python
> implementation, so I would recommend to %exclude it from the "-devel"
> package,
> i.e. add this line below "%{crate_instdir}/":
> 
> %exclude %{crate_instdir}/src/serdes/serde.py

Good catch, indeed. Fixed.

Spec URL: https://jcline.fedorapeople.org/new-packages/rust-siguldry.spec
SRPM URL:
https://jcline.fedorapeople.org/new-packages/rust-siguldry-0.2.0-1.fc43.src.rpm


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2352566

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202352566%23c4

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to