diff --git a/mock/plexus-archiver-2.4.2-5.el7_5.x86_64.cfg b/mock/plexus-archiver-2.4.2-5.el7_5.x86_64.cfg new file mode 100644 index 0000000..477f174 --- /dev/null +++ b/mock/plexus-archiver-2.4.2-5.el7_5.x86_64.cfg @@ -0,0 +1,121 @@ +config_opts['root'] = 'TARGETNAME' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64','noarch',) +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'] = "x86_64-redhat-linux-gnu" + + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +syslog_ident=mock +syslog_device= +exclude=java-1.8.0* *.i686 + +# repos +[c7.00.04] +name=c7.00.04 +enabled=1 +cost=1500 +baseurl=http://repohost/repo/c7.00.04/ + + +[c7.00.03] +name=c7.00.03 +enabled=1 +cost=1750 +baseurl=http://repohost/repo/c7.00.03/ + +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=2000 +baseurl=http://repohost/repo/c7.00.02/ + +[c7-updates] +name=c7-updates +enabled=1 +cost=1250 +baseurl=http://repohost/repo/c7-updates/ + +[c7.01.00] +name=c7.01.00 +enabled=1 +cost=1000 +baseurl=http://repohost/repo/c7.01.00/ + +[c7.01.u] +name=c7.01.u +enabled=1 +cost=750 +baseurl=http://repohost/repo/c7.01.u/ + +[c7.1511.00] +name=c7.1511.00 +enabled=1 +cost=700 +baseurl=http://repohost/repo/c7.1511.00/ + +[c7.1611.00] +name=c7.1611.00 +enabled=1 +cost=650 +baseurl=http://repohost/repo/c7.1611.00/ + +[c7.1611.01] +name=c7.1611.01 +enabled=1 +cost=650 +baseurl=http://repohost/repo/c7.1611.01/ + +[c7.1511.u] +name=c7.1511.u +enabled=1 +cost=675 +baseurl=http://repohost/repo/c7.1511.u/ + +[c7.1611.u] +name=c7.1611.u +enabled=1 +cost=625 +baseurl=http://repohost/repo/c7.1611.u/ + +[c7.1708.00] +name=c7.1708.00 +enabled=1 +baseurl=http://repohost/repo/c7.1708.00/ + +[c7.1708.u.x86_64] +name=c7.1708.u.x86_64 +enabled=1 +baseurl=http://repohost/repo/c7.1708.u.x86_64/ + +[c7.1804.00.x86_64] +name=c7.1804.00.x86_64 +enabled=1 +baseurl=http://repohost/repo/c7.1804.00.x86_64/ + +[c7.1804.u.x86_64] +name=c7.1804.u.x86_64 +enabled=1 +baseurl=http://repohost/repo/c7.1804.u.x86_64/ + +""" diff --git a/mock/plexus-archiver.x86_64.cfg b/mock/plexus-archiver.x86_64.cfg deleted file mode 100644 index 477f174..0000000 --- a/mock/plexus-archiver.x86_64.cfg +++ /dev/null @@ -1,121 +0,0 @@ -config_opts['root'] = 'TARGETNAME' -config_opts['target_arch'] = 'x86_64' -config_opts['legal_host_arches'] = ('x86_64','noarch',) -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'] = "x86_64-redhat-linux-gnu" - - -config_opts['yum.conf'] = """ -[main] -cachedir=/var/cache/yum -debuglevel=1 -reposdir=/dev/null -logfile=/var/log/yum.log -retries=20 -obsoletes=1 -gpgcheck=0 -assumeyes=1 -syslog_ident=mock -syslog_device= -exclude=java-1.8.0* *.i686 - -# repos -[c7.00.04] -name=c7.00.04 -enabled=1 -cost=1500 -baseurl=http://repohost/repo/c7.00.04/ - - -[c7.00.03] -name=c7.00.03 -enabled=1 -cost=1750 -baseurl=http://repohost/repo/c7.00.03/ - -[c7.00.02] -name=c7.00.02 -enabled=1 -cost=2000 -baseurl=http://repohost/repo/c7.00.02/ - -[c7-updates] -name=c7-updates -enabled=1 -cost=1250 -baseurl=http://repohost/repo/c7-updates/ - -[c7.01.00] -name=c7.01.00 -enabled=1 -cost=1000 -baseurl=http://repohost/repo/c7.01.00/ - -[c7.01.u] -name=c7.01.u -enabled=1 -cost=750 -baseurl=http://repohost/repo/c7.01.u/ - -[c7.1511.00] -name=c7.1511.00 -enabled=1 -cost=700 -baseurl=http://repohost/repo/c7.1511.00/ - -[c7.1611.00] -name=c7.1611.00 -enabled=1 -cost=650 -baseurl=http://repohost/repo/c7.1611.00/ - -[c7.1611.01] -name=c7.1611.01 -enabled=1 -cost=650 -baseurl=http://repohost/repo/c7.1611.01/ - -[c7.1511.u] -name=c7.1511.u -enabled=1 -cost=675 -baseurl=http://repohost/repo/c7.1511.u/ - -[c7.1611.u] -name=c7.1611.u -enabled=1 -cost=625 -baseurl=http://repohost/repo/c7.1611.u/ - -[c7.1708.00] -name=c7.1708.00 -enabled=1 -baseurl=http://repohost/repo/c7.1708.00/ - -[c7.1708.u.x86_64] -name=c7.1708.u.x86_64 -enabled=1 -baseurl=http://repohost/repo/c7.1708.u.x86_64/ - -[c7.1804.00.x86_64] -name=c7.1804.00.x86_64 -enabled=1 -baseurl=http://repohost/repo/c7.1804.00.x86_64/ - -[c7.1804.u.x86_64] -name=c7.1804.u.x86_64 -enabled=1 -baseurl=http://repohost/repo/c7.1804.u.x86_64/ - -"""