diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2011-01-21 15:47:34 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2011-01-21 17:09:46 +0100 |
commit | f786d564df7ed99d7a1464d4ba360392fd0bfc84 (patch) | |
tree | 3b3e5b0fe062929202a12e0a3fdd2feff1964040 | |
parent | 0df9afbeb29ea708ad5b4f16551076f1c9d43f56 (diff) | |
download | fedora-packager-f786d564df7ed99d7a1464d4ba360392fd0bfc84.tar.gz fedora-packager-f786d564df7ed99d7a1464d4ba360392fd0bfc84.tar.xz fedora-packager-f786d564df7ed99d7a1464d4ba360392fd0bfc84.zip |
Run SRPM rpmbuild via fakeroot
This avoids unnecessary lookup of non-existing users and
the resulting error messages in mock builds.
-rw-r--r-- | src/pyfedpkg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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': |