[Bug 2233248] Review Request: rust-glycin - Sandboxed image rendering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Fabio Valentini <decathorpe@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |decathorpe@xxxxxxxxx
                 CC|                            |decathorpe@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #3 from Fabio Valentini <decathorpe@xxxxxxxxx> ---
Two minor issues:

1. "LGPL-2.1" is a deprecated SPDX license identifier. It should likely be
"LGPL-2.1-only" or "LGPL-2.1-or-later", but I'm not sure which one.
Looks like I missed this in the review for glycin-utils, which has the same
issue. :(

2. You can add "autobins = false" to the "[package]" section of Cargo.toml to
prevent automatic detection of binaries, that would save you from doing this
manually in %prep. It's not even a test (i.e. it's a [[bin]] target, not a
[[test]] target), which is why it gets detected as an installable executable by
cargo. If it *were* a proper [[test]] target, having a main() function would be
perfectly fine. But this looks like a development / debugging tool, so setting
"autobins = false" is likely the easiest solution to prevent it from being
built.

Doing "rm src/bin/test.rs" is fine as well, but doing the autobins patch has
the benefit of also making rust2rpm properly recognize this is a library-only /
no debug symbols / no "binary package" package, so you wouldn't need to make
all these modifications manually in addition to doing the rm-ing.


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

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202233248%23c3
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux