#211 RFE: "testrequires" setting that works like "buildrequires" that are wrapped in %if %{with check}
Closed: Fixed a year ago by decathorpe. Opened 2 years ago by decathorpe.

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.

Having a separate setting for "testrequires" which are automatically wrapped in %if %{with check} would be great.


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

a year ago

Login to comment on this ticket.

Metadata