From f786d564df7ed99d7a1464d4ba360392fd0bfc84 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Fri, 21 Jan 2011 15:47:34 +0100 Subject: Run SRPM rpmbuild via fakeroot This avoids unnecessary lookup of non-existing users and the resulting error messages in mock builds. --- src/pyfedpkg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index 52998ee..5c3afcd 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -1697,7 +1697,7 @@ class PackageModule: pipe= ['xargs', '-0', 'chmod', 'a+r'], shell=False) - cmd = ['rpmbuild'] + cmd = ['fakeroot', 'rpmbuild'] cmd.extend(self.rpmdefines) # This may need to get updated if we ever change our checksum default if not hashtype == 'sha256': -- cgit