From b2af32a04bcd09df922b19eab97b41e9260f9f6a Mon Sep 17 00:00:00 2001
From: Johnny Hughes <johnny@centos.org>
Date: Tue, 10 Jul 2018 17:18:25 +0000
Subject: [PATCH] add rust toolset mock configs

---
 mock/c7-rust-toolset-7.ppc64.cfg   |   81 ++++++
 mock/c7-rust-toolset-7.armhfp.cfg  |  111 +++++++++
 mock/c7-rust-toolset-7.ppc.cfg     |   73 ++++++
 mock/c7-rust-toolset-7.i386.cfg    |  134 +++++++++++
 mock/c7-rust-toolset-7.ppc64le.cfg |   72 ++++++
 mock/c7-rust-toolset-7.aarch64.cfg |   71 +++++
 mock/c7-rust-toolset-7.x86_64.cfg  |  144 ++++++++++++
 7 files changed, 686 insertions(+), 0 deletions(-)

diff --git a/mock/c7-rust-toolset-7.aarch64.cfg b/mock/c7-rust-toolset-7.aarch64.cfg
new file mode 100644
index 0000000..0841979
--- /dev/null
+++ b/mock/c7-rust-toolset-7.aarch64.cfg
@@ -0,0 +1,71 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'aarch64'
+config_opts['legal_host_arches'] = ('aarch64',)
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils-build  llvm-toolset-7-build devtoolset-7-build rust-toolset-7-build'
+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']['%centos'] = "7"
+config_opts['macros']['%el7'] = "1"
+config_opts['macros']['%redhat'] = "7"
+config_opts['macros']['%vendor'] = "CentOS"
+config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
+config_opts['macros']['%_vendor'] = "redhat"
+config_opts['macros']['%_vendor_host'] = "redhat"
+config_opts['macros']['%_host'] = "aarch64-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=
+
+# repos
+[c7-extras.aarch64]
+name=c7-extras.aarch64
+baseurl=http://repohost/repo/c7-extras.aarch64/
+gpgcheck=0
+
+[c7.1708.u.aarch64]
+name=c7.1708.u.aarch64
+baseurl=http://repohost/repo/c7.1708.u.aarch64/
+gpgcheck=0
+
+[c7.1708.00.aarch64]
+name=c7.1708.00.aarch64
+baseurl=http://repohost/repo/c7.1708.00.aarch64/
+gpgcheck=0
+
+[c7.1804.u.aarch64]
+name=c7.1804.u.aarch64
+baseurl=http://repohost/repo/c7.1804.u.aarch64/
+gpgcheck=0
+
+[c7.1804.00.aarch64]
+name=c7.1804.00.aarch64
+baseurl=http://repohost/repo/c7.1804.00.aarch64/
+gpgcheck=0
+
+[c7-devtoolset-7.aarch64]
+name=c7-devtoolset-7
+baseurl=http://repohost/repo/c7-devtoolset-7.aarch64/
+gpgcheck=0
+
+[c7-llvm-toolset-7.aarch64]
+name=c7-llvm-toolset-7
+baseurl=http://repohost/repo/c7-llvm-toolset-7.aarch64/
+gpgcheck=0
+[c7-rust-toolset-7.aarch64]
+name=c7-rust-toolset-7
+baseurl=http://repohost/repo/c7-rust-toolset-7.aarch64/
+gpgcheck=0
+"""
diff --git a/mock/c7-rust-toolset-7.armhfp.cfg b/mock/c7-rust-toolset-7.armhfp.cfg
new file mode 100644
index 0000000..5c8d01a
--- /dev/null
+++ b/mock/c7-rust-toolset-7.armhfp.cfg
@@ -0,0 +1,111 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'armv7hl'
+config_opts['legal_host_arches'] = ('armv7l')
+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 scl-utils-build  llvm-toolset-7-build devtoolset-7-build rust-toolset-7-build'
+config_opts['dist'] = 'el7'  # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+config_opts['macros']['%dist'] = ".el7"
+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 <http://bugs.centos.org>"
+config_opts['macros']['%_vendor'] = "redhat"
+config_opts['macros']['%_vendor_host'] = "redhat"
+config_opts['macros']['%_host'] = "armv7hl-redhat-linux-gnu"
+#config_opts['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0"
+
+# Added for devtoolset-6
+config_opts['scl'] = "devtoolset-7"
+
+
+# no ccache in base repo
+config_opts['plugin_conf']['ccache_enable'] = False
+config_opts['plugin_conf']['yum_cache_enable'] = False
+
+config_opts['yum.conf'] = """
+[main]
+cachedir=/var/cache/yum
+keepcache=1
+debuglevel=2
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+syslog_ident=mock
+syslog_device=
+
+# repos
+
+[c7.1511.00.armhfp]
+name=c7.1511.00.armhfp
+baseurl=http://repohost/repo/c7.1511.00.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1511.u.armhfp]
+name=c7.1511.u.armhfp
+baseurl=http://repohost/repo/c7.1511.u.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1611.00.armhfp]
+name=c7.1611.00.armhfp
+baseurl=http://repohost/repo/c7.1611.00.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1611.u.armhfp]
+name=c7.1611.u.armhfp
+baseurl=http://repohost/repo/c7.1611.u.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1708.00.armhfp]
+name=c7.1708.00.armhfp
+baseurl=http://repohost/repo/c7.1708.00.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1708.u.armhfp]
+name=c7.1708.u.armhfp
+baseurl=http://repohost/repo/c7.1708.u.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1804.00.armhfp]
+name=c7.1804.00.armhfp
+baseurl=http://repohost/repo/c7.1804.00.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7.1804.u.armhfp]
+name=c7.1804.u.armhfp
+baseurl=http://repohost/repo/c7.1804.u.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7-devtoolset-7.armhfp]
+name=c7-devtoolset-7.armhfp
+baseurl=http://repohost/repo/c7-devtoolset-7.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7-llvm-toolset-7.armhfp]
+name=c7-llvm-toolset-7.armhfp
+baseurl=http://repohost/repo/c7-llvm-toolset-7.armhfp/
+enabled=1
+gpgcheck=0
+
+[c7-rust-toolset-7.armhfp]
+name=c7-rust-toolset-7.armhfp
+baseurl=http://repohost/repo/c7-rust-toolset-7.armhfp/
+enabled=1
+gpgcheck=0
+
+"""
+
diff --git a/mock/c7-rust-toolset-7.i386.cfg b/mock/c7-rust-toolset-7.i386.cfg
new file mode 100644
index 0000000..5458432
--- /dev/null
+++ b/mock/c7-rust-toolset-7.i386.cfg
@@ -0,0 +1,134 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'i686'
+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 scl-utils-build llvm-toolset-7-build devtoolset-7-build rust-toolset-7-build'
+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 <http://bugs.centos.org>"
+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
+debuglevel=1
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+syslog_ident=mock
+syslog_device=
+
+exclude=*.x86_64 redhat-logos redhat-release* fakesystemd systemd-container* gdb-headless
+
+# repos
+[c7.00.04]
+name=c7.00.04
+enabled=1
+baseurl=http://repohost/repo/c7.00.04/
+
+[c7.00.03]
+name=c7.00.03
+enabled=1
+baseurl=http://repohost/repo/c7.00.03/
+
+[c7.00.02]
+name=c7.00.02
+enabled=1
+baseurl=http://repohost/repo/c7.00.02/
+
+[c7.00.00]
+name=c7.00.00
+enabled=1
+baseurl=http://repohost/repo/c7.00.00/
+
+[c7-extras.i386]
+name=c7-extras.i386
+enabled=1
+baseurl=http://repohost/repo/c7-extras.i386/
+
+[c7-updates]
+name=c7-updates
+enabled=1
+baseurl=http://repohost/repo/c7-updates/
+
+[c7.01.00]
+name=c7.01.00
+enabled=1
+baseurl=http://repohost/repo/c7.01.00/
+
+[c7.01.u]
+name=c7.01.u
+enabled=1
+baseurl=http://repohost/repo/c7.01.u/
+
+[c7.1511.u]
+name=c7.1511.u
+enabled=1
+baseurl=http://repohost/repo/c7.1511.u/
+
+[c7.1511.00]
+name=c7.1511.00
+enabled=1
+baseurl=http://repohost/repo/c7.1511.00/
+
+[c7.1611.u]
+name=c7.1611.u
+enabled=1
+baseurl=http://repohost/repo/c7.1611.u/
+
+[c7.1611.00]
+name=c7.1611.00
+enabled=1
+baseurl=http://repohost/repo/c7.1611.00/
+
+[c7.1611.01]
+name=c7.1611.01
+enabled=1
+baseurl=http://repohost/repo/c7.1611.01/
+
+[c7.1708.u.i386]
+name=c7.1708.u.i386
+enabled=1
+baseurl=http://repohost/repo/c7.1708.u.i386/
+
+
+[c7.1708.00]
+name=c7.1708.00
+enabled=1
+baseurl=http://repohost/repo/c7.1708.00/
+
+[c7.1804.u.i386]
+name=c7.1804.u.i386
+enabled=1
+baseurl=http://repohost/repo/c7.1804.u.i386/
+
+[c7.1804.00.i386]
+name=c7.1804.00.i386
+enabled=1
+baseurl=http://repohost/repo/c7.1804.00.i386/
+
+[c7-devtoolset-7.i386]
+name=c7-devtoolset-7
+enabled=1
+baseurl=http://repohost/repo/c7-devtoolset-7.i386/
+
+[c7-llvm-toolset-7.i386]
+name=c7-llvm-toolset-7
+enabled=1
+baseurl=http://repohost/repo/c7-llvm-toolset-7.i386/
+
+[c7-llvm-toolset-7.i386]
+name=c7-llvm-toolset-7
+enabled=1
+baseurl=http://repohost/repo/c7-llvm-toolset-7.i386/
+"""
diff --git a/mock/c7-rust-toolset-7.ppc.cfg b/mock/c7-rust-toolset-7.ppc.cfg
new file mode 100644
index 0000000..1020476
--- /dev/null
+++ b/mock/c7-rust-toolset-7.ppc.cfg
@@ -0,0 +1,73 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'ppc'
+config_opts['legal_host_arches'] = ('ppc','ppc64')
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils-build  llvm-toolset-7-build devtoolst-7-build rust-toolset-7-build'
+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']['%centos'] = "7"
+config_opts['macros']['%el7'] = "1"
+config_opts['macros']['%redhat'] = "7"
+config_opts['macros']['%vendor'] = "CentOS"
+config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
+config_opts['macros']['%_vendor'] = "redhat"
+config_opts['macros']['%_vendor_host'] = "redhat"
+config_opts['macros']['%_host'] = "ppc-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=*.ppc64 gdb-headless
+
+# repos
+[c7-extras.ppc]
+name=c7-extras.ppc
+baseurl=http://repohost/repo/c7-extras.ppc/
+gpgcheck=0
+
+[c7.1708.u.ppc]
+name=c7.1708.u.ppc
+baseurl=http://repohost/repo/c7.1708.u.ppc/
+gpgcheck=0
+
+[c7.1708.00.ppc]
+name=c7.1708.00.ppc
+baseurl=http://repohost/repo/c7.1708.00.ppc/
+gpgcheck=0
+
+[c7.1804.u.ppc]
+name=c7.1804.u.ppc
+baseurl=http://repohost/repo/c7.1804.u.ppc/
+gpgcheck=0
+
+[c7.1804.00.ppc]
+name=c7.1804.00.ppc
+baseurl=http://repohost/repo/c7.1804.00.ppc/
+gpgcheck=0
+
+[c7-devtoolset-7.ppc]
+name=c7-devtoolset-7
+baseurl=http://repohost/repo/c7-devtoolset-7.ppc/
+gpgcheck=0
+
+[c7-llvm-toolset-7.ppc]
+name=c7-llvm-toolset-7
+baseurl=http://repohost/repo/c7-llvm-toolset-7.ppc/
+gpgcheck=0
+
+[c7-rust-toolset-7.ppc]
+name=c7-rust-toolset-7
+baseurl=http://repohost/repo/c7-rust-toolset-7.ppc/
+gpgcheck=0
+"""
diff --git a/mock/c7-rust-toolset-7.ppc64.cfg b/mock/c7-rust-toolset-7.ppc64.cfg
new file mode 100644
index 0000000..e60c8e0
--- /dev/null
+++ b/mock/c7-rust-toolset-7.ppc64.cfg
@@ -0,0 +1,81 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'ppc64'
+config_opts['legal_host_arches'] = ('ppc64',)
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build  llvm-toolset-7-build devtoolset-7-build rust-toolset-7-build'
+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']['%centos'] = "7"
+config_opts['macros']['%el7'] = "1"
+config_opts['macros']['%redhat'] = "7"
+config_opts['macros']['%vendor'] = "CentOS"
+config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
+config_opts['macros']['%_vendor'] = "redhat"
+config_opts['macros']['%_vendor_host'] = "redhat"
+config_opts['macros']['%_host'] = "ppc64-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=glibc64*.ppc gdb-headless
+# repos
+[c7-extras.ppc64]
+name=c7-extras.ppc64
+baseurl=http://repohost/repo/c7-extras.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
+
+[c7.1708.u.ppc64]
+name=c7.1708.u.ppc64
+baseurl=http://repohost/repo/c7.1708.u.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
+
+[c7.1708.00.ppc64]
+name=c7.1708.00.ppc64
+baseurl=http://repohost/repo/c7.1708.00.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
+
+[c7.1804.u.ppc64]
+name=c7.1804.u.ppc64
+baseurl=http://repohost/repo/c7.1804.u.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
+
+[c7.1804.00.ppc64]
+name=c7.1804.00.ppc64
+baseurl=http://repohost/repo/c7.1804.00.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
+
+[c7-devtoolset-7.ppc64]
+name=c7-devtoolset-7
+baseurl=http://repohost/repo/c7-devtoolset-7.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
+
+[c7-llvm-toolset-7.ppc64]
+name=c7-llvm-toolset-7
+baseurl=http://repohost/repo/c7-llvm-toolset-7.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-llvm-el.ppc nss-softokn-freebl*.ppc
+
+[c7-rust-toolset-7.ppc64]
+name=c7-rust-toolset-7
+baseurl=http://repohost/repo/c7-rust-toolset-7.ppc64/
+gpgcheck=0
+includepkgs=*.ppc64 *.noarch glibc.ppc glibc-rust-el.ppc nss-softokn-freebl*.ppc
+
+"""
diff --git a/mock/c7-rust-toolset-7.ppc64le.cfg b/mock/c7-rust-toolset-7.ppc64le.cfg
new file mode 100644
index 0000000..23b1a36
--- /dev/null
+++ b/mock/c7-rust-toolset-7.ppc64le.cfg
@@ -0,0 +1,72 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'ppc64le'
+config_opts['legal_host_arches'] = ('ppc64le',)
+config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils-build   llvm-toolset-build devtoolset-7-build rust-toolset-7-build'
+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']['%centos'] = "7"
+config_opts['macros']['%el7'] = "1"
+config_opts['macros']['%redhat'] = "7"
+config_opts['macros']['%vendor'] = "CentOS"
+config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
+config_opts['macros']['%_vendor'] = "redhat"
+config_opts['macros']['%_vendor_host'] = "redhat"
+config_opts['macros']['%_host'] = "ppc64le-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=
+
+# repos
+[c7-extras.ppc64le]
+name=c7-extras.ppc64le
+baseurl=http://repohost/repo/c7-extras.ppc64le/
+gpgcheck=0
+
+[c7.1708.u.ppc64le]
+name=c7.1708.u.ppc64le
+baseurl=http://repohost/repo/c7.1708.u.ppc64le/
+gpgcheck=0
+
+[c7.1708.00.ppc64le]
+name=c7.1708.00.ppc64le
+baseurl=http://repohost/repo/c7.1708.00.ppc64le/
+gpgcheck=0
+
+[c7.1804.u.ppc64le]
+name=c7.1804.u.ppc64le
+baseurl=http://repohost/repo/c7.1804.u.ppc64le/
+gpgcheck=0
+
+[c7.1804.00.ppc64le]
+name=c7.1804.00.ppc64le
+baseurl=http://repohost/repo/c7.1804.00.ppc64le/
+gpgcheck=0
+
+[c7-devtoolset-7.ppc64le]
+name=c7-devtoolset-7
+baseurl=http://repohost/repo/c7-devtoolset-7.ppc64le/
+gpgcheck=0
+
+[c7-llvm-toolset-7.ppc64le]
+name=c7-llvm-toolset-7
+baseurl=http://repohost/repo/c7-llvm-toolset-7.ppc64le/
+gpgcheck=0
+
+[c7-rust-toolset-7.ppc64le]
+name=c7-rust-toolset-7
+baseurl=http://repohost/repo/c7-rust-toolset-7.ppc64le/
+gpgcheck=0
+"""
diff --git a/mock/c7-rust-toolset-7.x86_64.cfg b/mock/c7-rust-toolset-7.x86_64.cfg
new file mode 100644
index 0000000..814cfee
--- /dev/null
+++ b/mock/c7-rust-toolset-7.x86_64.cfg
@@ -0,0 +1,144 @@
+config_opts['root'] = 'TARGETNAME'
+config_opts['target_arch'] = 'x86_64'
+config_opts['legal_host_arches'] = ('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 scl-utils-build llvm-toolset-7-build devtoolset-7-build'
+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 <http://bugs.centos.org>"
+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=
+
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+exclude=redhat-logos redhat-release* fakesystemd systemd-container*
+
+# repos
+[c7.00.04]
+name=c7.00.04
+enabled=1
+baseurl=http://repohost/repo/c7.00.04/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.00.03]
+name=c7.00.03
+enabled=1
+baseurl=http://repohost/repo/c7.00.03/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.00.02]
+name=c7.00.02
+enabled=1
+baseurl=http://repohost/repo/c7.00.02/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7-extras.x86_64]
+name=c7-extras.x86_64
+enabled=1
+baseurl=http://repohost/repo/c7-extras.x86_64/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7-updates]
+name=c7-updates
+enabled=1
+baseurl=http://repohost/repo/c7-updates/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.01.00]
+name=c7.01.00
+enabled=1
+baseurl=http://repohost/repo/c7.01.00/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+
+[c7.01.u]
+name=c7.01.u
+enabled=1
+baseurl=http://repohost/repo/c7.01.u/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1511.u]
+name=c7.1511.u
+enabled=1
+baseurl=http://repohost/repo/c7.1511.u/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1511.00]
+name=c7.1511.00
+enabled=1
+baseurl=http://repohost/repo/c7.1511.00/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1611.u]
+name=c7.1611.u
+enabled=1
+baseurl=http://repohost/repo/c7.1611.u/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1611.00]
+name=c7.1611.00
+enabled=1
+baseurl=http://repohost/repo/c7.1611.00/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1611.01]
+name=c7.1611.01
+enabled=1
+baseurl=http://repohost/repo/c7.1611.01/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1708.u.x86_64]
+name=c7.1708.u.x86_64
+enabled=1
+baseurl=http://repohost/repo/c7.1708.u.x86_64/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1708.00]
+name=c7.1708.00
+enabled=1
+baseurl=http://repohost/repo/c7.1708.00/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1804.u.x86_64]
+name=c7.1804.u.x86_64
+enabled=1
+baseurl=http://repohost/repo/c7.1804.u.x86_64/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7.1804.00.x86_64]
+name=c7.1804.00.x86_64
+enabled=1
+baseurl=http://repohost/repo/c7.1804.00.x86_64/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7-devtoolset-7]
+name=c7-devtoolset-7
+enabled=1
+baseurl=http://repohost/repo/c7-devtoolset-7.x86_64/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+
+[c7-llvm-toolset-7]
+name=c7-llvm-toolset-7
+enabled=1
+baseurl=http://repohost/repo/c7-llvm-toolset-7.x86_64/
+includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686
+"""

--
Gitblit v1.8.0