Open LecrisUT opened 1 month ago
* expose the `srpm` on `TMT_PLAN_DATA`
Do we want to build srpm? Would you mind illustrating the use case?
Not to build the srpm, but to have the srpm file and the extracted form available. Having the SRPM might come in handy if the sources are something other than Source0
. As for the main use-case, let's take cmake:
--with bootstrap
. This pattern I also need for some rust packages because their testsuite is disabled because of circular dependency
Working a bit on refactoring cmake's tmt I've come to the situation where upstream does not have a tmt setup, but still I want to get the exact source (and test data) used for the build (including patching and all), and run the integrated tests. For this exposing
prepare.how = distgit
would be quite useful as a shortcut, with some tweaks.phase_name
becomes optionaldist_git_type
to the prepare's datasrpm
onTMT_PLAN_DATA
TMT_SOURCE_DIR
should be available more generally?