Build Tools package¶
- class rebasehelper.plugins.build_tools.BuildTemporaryEnvironment(sources, patches, spec, results_dir)[source]¶
Class representing temporary environment.
- TEMPDIR_RESULTS: str = 'TEMPDIR_RESULTS'¶
- TEMPDIR_SOURCES: str = 'TEMPDIR_SOURCES'¶
- TEMPDIR_SPEC: str = 'TEMPDIR_SPEC'¶
- TEMPDIR_SPECS: str = 'TEMPDIR_SPECS'¶
- class rebasehelper.plugins.build_tools.MockTemporaryEnvironment(sources, patches, spec, results_dir)[source]¶
Class representing temporary environment for MockBuildTool.
- class rebasehelper.plugins.build_tools.RpmbuildTemporaryEnvironment(sources, patches, spec, results_dir)[source]¶
Class representing temporary environment for RpmbuildBuildTool.
- TEMPDIR_BUILD: str = 'TEMPDIR_BUILD'¶
- TEMPDIR_BUILDROOT: str = 'TEMPDIR_BUILDROOT'¶
- TEMPDIR_RPMBUILD: str = 'TEMPDIR_RPMBUILD'¶
- TEMPDIR_RPMS: str = 'TEMPDIR_RPMS'¶
- TEMPDIR_SRPMS: str = 'TEMPDIR_SRPMS'¶
- rebasehelper.plugins.build_tools.get_mock_logfile_path(ret, results_dir, tmp_path=None)[source]¶
Get path to logfile containing the error message
- Parameters:
ret – return code from mock
results_dir – directory where logs will be stored
tmp_path – temporary directory where logs are during build
- Returns: