diff --git a/mock/c6.99.00.el7-i686.cfg b/mock/c6.99.00.el7-i686.cfg index 8bb3377..3996679 100644 --- a/mock/c6.99.00.el7-i686.cfg +++ b/mock/c6.99.00.el7-i686.cfg @@ -5,6 +5,17 @@ config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',) config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst +config_opts['%centos_ver'] = "7" +config_opts['macros']['%centos_ver'] = "7" +config_opts['macros']['%rhel'] = "7" +config_opts['macros']['%el7'] = "1" +config_opts['macros']['%redhat'] = "7" +config_opts['macros']['%vendor'] = "CentOS" +config_opts['macros']['%packager'] = "CentOS BuildSystem " +config_opts['macros']['%_vendor'] = "redhat" +config_opts['macros']['%_vendor_host'] = "redhat" +config_opts['macros']['%_host'] = "i386-redhat-linux-gnu" + config_opts['yum.conf'] = """ [main] cachedir=/var/cache/yum @@ -22,7 +33,14 @@ exclude=*.x86_64 # repos [base] -name=BaseOS +name=f19-i686 enabled=1 baseurl=http://repohost/repo/mirror/f19-i686/ + +# Also consume what we build in realtime +[c6.99.00] +name=c6.99.00 +enabled=1 +baseurl=http://repohost/tmp/repo/c6.99.00/ + """ diff --git a/mock/c6.99.01.el7-i686.cfg b/mock/c6.99.01.el7-i686.cfg index 5277897..00d36bb 100644 --- a/mock/c6.99.01.el7-i686.cfg +++ b/mock/c6.99.01.el7-i686.cfg @@ -5,6 +5,17 @@ config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', 'x86_64',) config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst +config_opts['%centos_ver'] = "7" +config_opts['macros']['%centos_ver'] = "7" +config_opts['macros']['%rhel'] = "7" +config_opts['macros']['%el7'] = "1" +config_opts['macros']['%redhat'] = "7" +config_opts['macros']['%vendor'] = "CentOS" +config_opts['macros']['%packager'] = "CentOS BuildSystem " +config_opts['macros']['%_vendor'] = "redhat" +config_opts['macros']['%_vendor_host'] = "redhat" +config_opts['macros']['%_host'] = "i386-redhat-linux-gnu" + config_opts['yum.conf'] = """ [main] cachedir=/var/cache/yum @@ -21,8 +32,14 @@ syslog_device= exclude=*.x86_64 # repos -[base] -name=BaseOS +[c6.99.00] +name=c6.99.00 +enabled=1 +baseurl=http://repohost/tmp/repo/c6.99.00/ + +[c6.99.01] +name=c6.99.01 enabled=1 -baseurl=http://repohost/tmp/repo/c6.99.00-i686/ +baseurl=http://repohost/tmp/repo/c6.99.01/ + """