diff --git a/mock/py/mockbuild/plugins/rpmautospec.py b/mock/py/mockbuild/plugins/rpmautospec.py index e635ff85a..82fda40d3 100644 --- a/mock/py/mockbuild/plugins/rpmautospec.py +++ b/mock/py/mockbuild/plugins/rpmautospec.py @@ -109,6 +109,11 @@ def attempt_process_distgit( command += [chroot_sources_spec] # command += [chroot_spec] # + # Run the rpmautospec tool in the chroot sandbox. This minimizes + # external dependencies in the host, e.g. the Koji build system. As a + # bonus, spec files will be processed in the environment they will be + # built for, reducing the impact of the host system on the outcome, + # leading to more deterministic results and better repeatable builds. self.buildroot.doChroot( command, shell=False,