#8 default to including dev-dependencies in %cargo_generate_buildrequires
Closed by decathorpe. Opened by decathorpe.

Currently, if neither %bcond_without check nor %bcond_with are set, the macro defaults to excluding dev-dependencies. This is unexpected behaviour, since it can break other macros that have the inverted default.

This is mostly a problem for non-crate packages.


This was solved differently - there will be a -t flag to explicitly include test dependencies (dev-dependencies) for the %cargo_generate_buildrequires macro. This does not change the current behaviour but allows overriding the default without needing to set a bcond.

Metadata Update from @decathorpe:
- Issue status updated to: Closed (was: Open)

Metadata
Related Pull Requests