From 67cb4cd783f2ac7dd78801b495d73bbeafd4462e 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(-) (limited to 'src/pyfedpkg/__init__.py') diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index 510cfe7..78e2b2e 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -1747,7 +1747,7 @@ class PackageModule: pipe= ['xargs', '-0', 'chmod', 'a+r'], shell=False) - cmd = ['rpmbuild'] + cmd = ['fakeroot', 'rpmbuild'] cmd.extend(self.rpmdefines) # Figure out which hashtype to use, if not provided one -- cgit