mock mock.py,1.53.2.7,1.53.2.8
John Clark Williams (jcwillia)
fedora-extras-commits at redhat.com
Mon Jan 8 17:36:40 UTC 2007
- Previous message (by thread): rpms/gdl/FC-6 .cvsignore, 1.6, 1.7 gdl.spec, 1.19, 1.20 sources, 1.6, 1.7
- Next message (by thread): mock ChangeLog,1.8.2.4,1.8.2.5 mock.spec,1.16.2.15,1.16.2.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jcwillia
Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv886
Modified Files:
Tag: mock-0-6-branch
mock.py
Log Message:
added _rpmlock_path to config[macros] in attempt to fix problems when no /var/lib/rpm on build system
Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.53.2.7
retrieving revision 1.53.2.8
diff -u -r1.53.2.7 -r1.53.2.8
--- mock.py 14 Dec 2006 19:20:38 -0000 1.53.2.7
+++ mock.py 8 Jan 2007 17:36:38 -0000 1.53.2.8
@@ -712,6 +712,7 @@
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()
- Previous message (by thread): rpms/gdl/FC-6 .cvsignore, 1.6, 1.7 gdl.spec, 1.19, 1.20 sources, 1.6, 1.7
- Next message (by thread): mock ChangeLog,1.8.2.4,1.8.2.5 mock.spec,1.16.2.15,1.16.2.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list