diff options
Diffstat (limited to 'py/mock/backend.py')
-rw-r--r-- | py/mock/backend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mock/backend.py b/py/mock/backend.py index dccfdf9..baeb8e1 100644 --- a/py/mock/backend.py +++ b/py/mock/backend.py @@ -471,6 +471,7 @@ class Root(object): chrootspec = spec.replace(self.makeChrootPath(), '') # get rid of rootdir prefix # Completely/Permanently drop privs while running the following: + self.state("buildsrpm") os.environ["HOME"] = self.homedir self.doChroot( ["bash", "--login", "-c", 'rpmbuild -bs --target %s --nodeps %s' % (self.rpmbuild_arch, chrootspec)], |