This commit adds a -t flag to %cargo_generate_buildrequires to install dev-dependencies regardless of whether the check bcond is set.
-t
%cargo_generate_buildrequires
check
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.
%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
This commit adds a
-tflag to%cargo_generate_buildrequirestoinstall dev-dependencies regardless of whether the
checkbcond is set.Fixes: https://pagure.io/fedora-rust/rust-packaging/issue/8