define buildsys macros
for some reason buildsys-macros is not installed in default buildroot it works localy, but not in Copr. I spent a lot of time debuging it But enough is enough. Lets solve it this way.
This commit is contained in:
parent
d83256b106
commit
999677b572
2 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,9 @@ config_opts['chroot_setup_cmd'] = 'install buildsys-build'
|
||||||
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
|
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
|
||||||
if not config_opts.has_key('macros'): config_opts['macros'] = {}
|
if not config_opts.has_key('macros'): config_opts['macros'] = {}
|
||||||
config_opts['macros']['%__arch_install_post'] = '%{nil}'
|
config_opts['macros']['%__arch_install_post'] = '%{nil}'
|
||||||
|
config_opts['macros']['%rhel'] = '5'
|
||||||
|
config_opts['macros']['%dist'] = '.el5'
|
||||||
|
config_opts['macros']['%el5'] = '1'
|
||||||
config_opts['releasever'] = '5'
|
config_opts['releasever'] = '5'
|
||||||
|
|
||||||
config_opts['yum.conf'] = """
|
config_opts['yum.conf'] = """
|
||||||
|
|
|
@ -5,6 +5,9 @@ config_opts['chroot_setup_cmd'] = 'install buildsys-build'
|
||||||
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
|
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
|
||||||
if not config_opts.has_key('macros'): config_opts['macros'] = {}
|
if not config_opts.has_key('macros'): config_opts['macros'] = {}
|
||||||
config_opts['macros']['%__arch_install_post'] = '%{nil}'
|
config_opts['macros']['%__arch_install_post'] = '%{nil}'
|
||||||
|
config_opts['macros']['%rhel'] = '5'
|
||||||
|
config_opts['macros']['%dist'] = '.el5'
|
||||||
|
config_opts['macros']['%el5'] = '1'
|
||||||
config_opts['releasever'] = '5'
|
config_opts['releasever'] = '5'
|
||||||
|
|
||||||
config_opts['yum.conf'] = """
|
config_opts['yum.conf'] = """
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue