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



--- Comment #55 from Fabio Valentini <[email protected]> ---
Note that using BuildRequires on Rust crates like this:

    BuildRequires: crate(cc/default)

Might or might not do what you want it to do, because you didn't include
version requirements.
Not specifying a version will always resolve to the *latest* version, which
might not be the one you need.

Specifying the acceptable version range like this

    BuildRequires: (crate(cc/default) >= 1.0.44 with crate(cc/default) <
2.0.0~)

(or whatever minimum version of the crate is specified) is much safer, and will
always result in the correct version of the crate getting installed.


-- 
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=2124697
_______________________________________________
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