SRPM Build Tools package

class rebasehelper.plugins.build_tools.srpm.SRPMBuildToolBase[source]

SRPM build tool base class.

DEFAULT

If True, the build tool is default tool.

Type:

bool

DEFAULT: bool = False
classmethod build(spec, results_dir, **kwargs)[source]

Build SRPM with chosen SRPM Build Tool

Parameters:
  • spec – SpecFile object

  • results_dir – absolute path to DIR where results should be stored

Returns:

absolute path to SRPM, list with absolute paths to logs

static get_srpm_builder_options(**kwargs)[source]
class rebasehelper.plugins.build_tools.srpm.SRPMBuildToolCollection(entrypoint: str, manager: PluginManager)[source]

Collection of SRPM build tools.