apply change to mock epel5 config

mock in epel6 changed, and we need this change (takend from F20 config of mock)
to successfuly build el5 package

addressing:
DEBUG util.py:281:  error: cannot write to %sourcedir /usr/src/redhat/SOURCES
This commit is contained in:
Miroslav Suchý 2014-01-20 20:45:21 +00:00
parent 023eded377
commit dbe1e5df67
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ config_opts['target_arch'] = 'i386'
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
config_opts['chroot_setup_cmd'] = 'install buildsys-build'
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
config_opts['macros'] = {}
if not config_opts.has_key('macros'): config_opts['macros'] = {}
config_opts['macros']['%__arch_install_post'] = '%{nil}'
config_opts['yum.conf'] = """

View file

@ -3,7 +3,7 @@ config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install buildsys-build'
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
config_opts['macros'] = {}
if not config_opts.has_key('macros'): config_opts['macros'] = {}
config_opts['macros']['%__arch_install_post'] = '%{nil}'
config_opts['yum.conf'] = """