We have a lot of packages that follow the common pattern of only requiring certain BuildRequires when running the test suite (i.e. --with check). Currently rust2rpm only partially supports generating these BuildRequires by adding them to the buildrequires setting of rust2rpm.conf. However, that still requries manual patching to add the %if %{with check} conditional around those dependencies.
--with check
buildrequires
%if %{with check}
Having a separate setting for "testrequires" which are automatically wrapped in %if %{with check} would be great.
Fixed by commit ff04186.
Metadata Update from @decathorpe: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.