diff options
author | jcwillia <jcwillia> | 2007-01-08 17:36:38 +0000 |
---|---|---|
committer | jcwillia <jcwillia> | 2007-01-08 17:36:38 +0000 |
commit | 7e7a97002ac61ffe658c3b24934a282ec529e2ca (patch) | |
tree | 01373bb2a8a80c124e6781f15b498ae812aeabc9 | |
parent | 34e299de092d41aafd614987e7a5f809436d8cd3 (diff) | |
download | mock-7e7a97002ac61ffe658c3b24934a282ec529e2ca.tar.gz mock-7e7a97002ac61ffe658c3b24934a282ec529e2ca.tar.xz mock-7e7a97002ac61ffe658c3b24934a282ec529e2ca.zip |
added _rpmlock_path to config[macros] in attempt to fix problems when no /var/lib/rpm on build system
-rw-r--r-- | mock.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -712,6 +712,7 @@ class Root: macrofile_out = '%s%s/.rpmmacros' % (self.rootdir, self.homedir) if not os.path.exists(macrofile_out): rpmmacros = open(macrofile_out, 'w') + self.config['macros'] = self.config['macros'] + "\n%%_rpmlock_path %s/var/lib/rpm/__db.000" % self.basedir rpmmacros.write(self.config['macros']) rpmmacros.close() |