#9 %cargo_generate_buildrequires: add a -t flag
Merged by decathorpe. Opened by gotmax23.
fedora-rust/ gotmax23/rust-packaging generate_buildrequires_t  into  main

Download 9.patch

This commit adds a -t flag to %cargo_generate_buildrequires to
install dev-dependencies regardless of whether the check bcond is set.

Fixes: https://pagure.io/fedora-rust/rust-packaging/issue/8

We also discussed this in #rust:fedoraproject.org, but see https://gtmx.me/Wiki/Fedora/developing_rpm_macros/#avoid-if-in-macro-definitions for why I removed the %if.

Looks good to me. I'll do some real-world testing before I tag a new release.

Pull-Request has been merged by decathorpe

Metadata