diff --git a/mock/0_MOCK-README b/mock/0_MOCK-README new file mode 100644 index 0000000..4c47fb7 --- /dev/null +++ b/mock/0_MOCK-README @@ -0,0 +1,41 @@ +-------- +* The old style templates no longer work in the 7 buildsys +* it now needs complete rendered files +-------- + +add mock config files per package here; +they can be either +- --.ARCH.conf +- -.ARCH.conf +- .ARCH.conf + +If the builder does not find a match in this dir, it will +use the conf file from one dir up ( and should be good +for most builds ) + +ARCH needs to be either i386 / x86_64 or noarch. In most cases +we will want to use the default mock configs from one dir up +and adapt those. + +In almost every case, we want the noarch.conf to be symlinked +to the x86_64 config file. Regular noarch files are built against +the x86_64 target, but if something has ExclusiveArch then it +will be attempted against the noarch conf first. + +If doing custom mock configs for the kernel, its always +going to need a noarch.cfg as well + +--------- +repo urls that contain /mirror/ point to pristine upstream +mirrors ( unmaintained, they will never change ) + +repo urls that contain /repo/ represent the actual +repositories that built content is being injected into + + +--------- +Some files that are part of the system: +- def.cfg +- logging.ini +- hints +- site-defaults.cfg diff --git a/mock/aide-0.15.1-6.el7-x86_64.cfg b/mock/aide-0.15.1-6.el7-x86_64.cfg new file mode 100644 index 0000000..59adf6b --- /dev/null +++ b/mock/aide-0.15.1-6.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkg=mhash mhash-devel + +""" diff --git a/mock/boost-1.53.0-14.el7-x86_64.cfg b/mock/boost-1.53.0-14.el7-x86_64.cfg new file mode 100644 index 0000000..883d414 --- /dev/null +++ b/mock/boost-1.53.0-14.el7-x86_64.cfg @@ -0,0 +1,46 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0" + + +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/brltty-4.5-6.el7-x86_64.cfg b/mock/brltty-4.5-6.el7-x86_64.cfg new file mode 100644 index 0000000..679aa75 --- /dev/null +++ b/mock/brltty-4.5-6.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkg=python3 python3-devel + +""" diff --git a/mock/compat-gcc-32-3.2.3-69.el7-x86_64.cfg b/mock/compat-gcc-32-3.2.3-69.el7-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/compat-gcc-32-3.2.3-69.el7-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/compat-gcc-34-3.4.6-30.el7-x86_64.cfg b/mock/compat-gcc-34-3.4.6-30.el7-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/compat-gcc-34-3.4.6-30.el7-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/compat-gcc-44-4.4.7-4.1.el7-x86_64.cfg b/mock/compat-gcc-44-4.4.7-4.1.el7-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/compat-gcc-44-4.4.7-4.1.el7-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/cups-pk-helper-0.2.4-2.el7-x86_64.cfg b/mock/cups-pk-helper-0.2.4-2.el7-x86_64.cfg new file mode 100644 index 0000000..23958d9 --- /dev/null +++ b/mock/cups-pk-helper-0.2.4-2.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=polkit-gnome + +""" diff --git a/mock/def.cfg b/mock/def.cfg new file mode 100644 index 0000000..725f149 --- /dev/null +++ b/mock/def.cfg @@ -0,0 +1,28 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +config_opts['target_arch'] = 'x86_64' +config_opts['legal_host_arches'] = ('x86_64',) +config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils fedora-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['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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/repo/r7b1/ +""" diff --git a/mock/epel7-x86_64.cfg b/mock/epel7-x86_64.cfg new file mode 100644 index 0000000..04bc979 --- /dev/null +++ b/mock/epel7-x86_64.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[epel7] +name=epel7 +enabled=1 +baseurl=http://repohost/tmp/repo/epel7/ +""" diff --git a/mock/f19-i386.cfg b/mock/f19-i386.cfg new file mode 100644 index 0000000..de4eabc --- /dev/null +++ b/mock/f19-i386.cfg @@ -0,0 +1,33 @@ +config_opts['root'] = 'f19-i686' +config_opts['basedir'] = 'MOCKROOT' +config_opts['target_arch'] = 'i686' +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' +config_opts['dist'] = 'el7' # only useful for --resultdir variable subst + +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 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-i686/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/repo/f19/ +""" diff --git a/mock/f19-i686.cfg b/mock/f19-i686.cfg new file mode 100644 index 0000000..de4eabc --- /dev/null +++ b/mock/f19-i686.cfg @@ -0,0 +1,33 @@ +config_opts['root'] = 'f19-i686' +config_opts['basedir'] = 'MOCKROOT' +config_opts['target_arch'] = 'i686' +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' +config_opts['dist'] = 'el7' # only useful for --resultdir variable subst + +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 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-i686/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/repo/f19/ +""" diff --git a/mock/f19-noarch.cfg b/mock/f19-noarch.cfg new file mode 100644 index 0000000..35a9e7c --- /dev/null +++ b/mock/f19-noarch.cfg @@ -0,0 +1,34 @@ +config_opts['root'] = 'f19-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +config_opts['dist'] = 'el7' # only useful for --resultdir variable subst + +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/repo/f19/ +""" + diff --git a/mock/f19-x86_64.cfg b/mock/f19-x86_64.cfg new file mode 100644 index 0000000..35a9e7c --- /dev/null +++ b/mock/f19-x86_64.cfg @@ -0,0 +1,34 @@ +config_opts['root'] = 'f19-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +config_opts['dist'] = 'el7' # only useful for --resultdir variable subst + +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/repo/f19/ +""" + diff --git a/mock/fftw-3.3.3-6.el7-x86_64.cfg b/mock/fftw-3.3.3-6.el7-x86_64.cfg new file mode 100644 index 0000000..883d414 --- /dev/null +++ b/mock/fftw-3.3.3-6.el7-x86_64.cfg @@ -0,0 +1,46 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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['macros']['%global _binaries_in_noarch_packages_terminate_build'] = "0" + + +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/gcc-x86_64.cfg b/mock/gcc-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/gcc-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/gegl-0.2.0-11.el7-x86_64.cfg b/mock/gegl-0.2.0-11.el7-x86_64.cfg new file mode 100644 index 0000000..11b360d --- /dev/null +++ b/mock/gegl-0.2.0-11.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=w3m perl-NKF + +""" diff --git a/mock/hints b/mock/hints new file mode 100644 index 0000000..000008e --- /dev/null +++ b/mock/hints @@ -0,0 +1,17 @@ +# All lines starting with a # are ignored +# format is : rpmname|disttag|list of pkgs, space between each +xfsdump|.el7|xfsprogs-qa-devel +git|.el7|libgnome-keyring-devel +notify-python|.el7|autoconf +conman|.el7|systemd +gcc|.el7|glibc-devel.i686 nss-softokn-freebl.i686 +compat-gcc-32|.el7|glibc-devel.i686 nss-softokn-freebl.i686 +compat-gcc-34|.el7|glibc-devel.i686 nss-softokn-freebl.i686 +compat-gcc-44|.el7|glibc-devel.i686 nss-softokn-freebl.i686 +bacula|.el7|tcp_wrappers-devel +sysstat|.el7|systemd +memtest86+|.el7|glibc-devel.i686 nss-softokn-freebl.i686 +mcelog|.el7|systemd +ibacm|.el7|systemd +grilo-plugins|.el7|libgcrypt-devel +sac|.el7|jpackage-utils diff --git a/mock/jarjar-1.4-3.el7-x86_64.cfg b/mock/jarjar-1.4-3.el7-x86_64.cfg new file mode 100644 index 0000000..08e3636 --- /dev/null +++ b/mock/jarjar-1.4-3.el7-x86_64.cfg @@ -0,0 +1,54 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +exclude=javapackages-tools jpackage-utils maven-local + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +exclude=javapackages-tools jpackage-utils maven-local + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=javapackages-tools jpackage-utils maven-local + +""" diff --git a/mock/jing-trang-20091111-12.el7-x86_64.cfg b/mock/jing-trang-20091111-12.el7-x86_64.cfg new file mode 100644 index 0000000..1a43064 --- /dev/null +++ b/mock/jing-trang-20091111-12.el7-x86_64.cfg @@ -0,0 +1,54 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +exclude=ant* + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +exclude=ant* + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=ant + +""" diff --git a/mock/libstoragemgmt-0.0.22-4.el7-x86_64.cfg b/mock/libstoragemgmt-0.0.22-4.el7-x86_64.cfg new file mode 100644 index 0000000..5546652 --- /dev/null +++ b/mock/libstoragemgmt-0.0.22-4.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkg=python-paramiko + +""" diff --git a/mock/logging.ini b/mock/logging.ini new file mode 100644 index 0000000..8186ead --- /dev/null +++ b/mock/logging.ini @@ -0,0 +1,84 @@ +[formatters] +keys: detailed,simple,unadorned,state + +[handlers] +keys: simple_console,detailed_console,unadorned_console,simple_console_warnings_only + +[loggers] +keys: root,build,state,mockbuild + +[formatter_state] +format: %(asctime)s - %(message)s + +[formatter_unadorned] +format: %(message)s + +[formatter_simple] +format: %(levelname)s: %(message)s + +;useful for debugging: +[formatter_detailed] +format: %(levelname)s %(filename)s:%(lineno)d: %(message)s + +[handler_unadorned_console] +class: StreamHandler +args: [] +formatter: unadorned +level: INFO + +[handler_simple_console] +class: StreamHandler +args: [] +formatter: simple +level: INFO + +[handler_simple_console_warnings_only] +class: StreamHandler +args: [] +formatter: simple +level: WARNING + +[handler_detailed_console] +class: StreamHandler +args: [] +formatter: detailed +level: WARNING + +; usually dont want to set a level for loggers +; this way all handlers get all messages, and messages can be filtered +; at the handler level +; +; all these loggers default to a console output handler +; +[logger_root] +level: NOTSET +handlers: simple_console + +; mockbuild logger normally has no output +; catches stuff like mockbuild.trace_decorator and mockbuild.util +; dont normally want to propagate to root logger, either +[logger_mockbuild] +level: NOTSET +handlers: +qualname: mockbuild +propagate: 1 + +[logger_state] +level: NOTSET +; unadorned_console only outputs INFO or above +handlers: unadorned_console +qualname: mockbuild.Root.state +propagate: 0 + +[logger_build] +level: NOTSET +handlers: simple_console_warnings_only +qualname: mockbuild.Root.build +propagate: 0 + +; the following is a list mock logger qualnames used within the code: +; +; qualname: mockbuild.util +; qualname: mockbuild.uid +; qualname: mockbuild.trace_decorator + diff --git a/mock/memtest86+-x86_64.cfg b/mock/memtest86+-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/memtest86+-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/python-pillow-2.0.0-12.gitd1c6db8.el7-x86_64.cfg b/mock/python-pillow-2.0.0-12.gitd1c6db8.el7-x86_64.cfg new file mode 100644 index 0000000..46f8d93 --- /dev/null +++ b/mock/python-pillow-2.0.0-12.gitd1c6db8.el7-x86_64.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/r7b1-i386.cfg b/mock/r7b1-i386.cfg new file mode 100644 index 0000000..1943557 --- /dev/null +++ b/mock/r7b1-i386.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-i386' +config_opts['basedir'] = 'MOCKROOT' +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' +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 +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 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/r7b1-i686.cfg b/mock/r7b1-i686.cfg new file mode 100644 index 0000000..1943557 --- /dev/null +++ b/mock/r7b1-i686.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-i386' +config_opts['basedir'] = 'MOCKROOT' +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' +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 +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 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/r7b1-noarch.cfg b/mock/r7b1-noarch.cfg new file mode 100644 index 0000000..46f8d93 --- /dev/null +++ b/mock/r7b1-noarch.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/r7b1-x86_64-with-32bitglibc.cfg b/mock/r7b1-x86_64-with-32bitglibc.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/r7b1-x86_64-with-32bitglibc.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/r7b1-x86_64.cfg b/mock/r7b1-x86_64.cfg new file mode 100644 index 0000000..46f8d93 --- /dev/null +++ b/mock/r7b1-x86_64.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +""" diff --git a/mock/sac-1.3-15.el7-x86_64.cfg b/mock/sac-1.3-15.el7-x86_64.cfg new file mode 100644 index 0000000..285022a --- /dev/null +++ b/mock/sac-1.3-15.el7-x86_64.cfg @@ -0,0 +1,54 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +exclude=javapackages-tools jpackage-utils + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +exclude=javapackages-tools jpackage-utils + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=javapackages-tools jpackage-utils + +""" diff --git a/mock/site-defaults.cfg b/mock/site-defaults.cfg new file mode 100644 index 0000000..04353fd --- /dev/null +++ b/mock/site-defaults.cfg @@ -0,0 +1,159 @@ +# mock defaults +# vim:tw=0:ts=4:sw=4:et: +# +# This config file is for site-specific default values that apply across all +# configurations. Options specified in this config file can be overridden in +# the individual mock config files. +# +# The site-defaults.cfg delivered by default has NO options set. Only set +# options here if you want to override the defaults. +# +# Entries in this file follow the same format as other mock config files. +# config_opts['foo'] = bar + +############################################################################# +# +# Things that we recommend you set in site-defaults.cfg: +# +# config_opts['basedir'] = '/var/lib/mock/' +# config_opts['cache_topdir'] = '/var/cache/mock' +# Note: the path pointed to by basedir and cache_topdir must be owned +# by group 'mock' and must have mode: g+rws +# config_opts['rpmbuild_timeout'] = 0 +# config_opts['use_host_resolv'] = True + +# You can configure log format to pull from logging.ini formats of these names: +# config_opts['build_log_fmt_name'] = "unadorned" +# config_opts['root_log_fmt_name'] = "detailed" +# config_opts['state_log_fmt_name'] = "state" +# +# mock will normally set up a minimal chroot /dev. +# If you want to use a pre-configured /dev, disable this and use the bind-mount +# plugin to mount your special /dev +# config_opts['internal_dev_setup'] = True +# +# internal_setarch defaults to 'True' if the python 'ctypes' package is +# available. It is in the python std lib on >= python 2.5. On older versions, +# it is available as an addon. On systems w/o ctypes, it will default to 'False' +# config_opts['internal_setarch'] = False +# +# the cleanup_on_* options allow you to automatically clean and remove the +# mock build directory, but only take effect if --resultdir is used. +# config_opts provides fine-grained control. cmdline only has big hammer +# +# config_opts['cleanup_on_success'] = 1 +# config_opts['cleanup_on_failure'] = 1 + +# if you want mock to automatically run createrepo on the rpms in your +# resultdir. +# config_opts['createrepo_on_rpms'] = False +# config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm' + +# if you want mock to backup the contents of a result dir before clean +# config_opts['backup_on_clean'] = False +# config_opts('backup_base_dir'] = config_opts['basedir'] + "backup" + + +############################################################################# +# +# plugin related. Below are the defaults. Change to suit your site +# policy. site-defaults.cfg is a good place to do this. +# +# NOTE: Some of the caching options can theoretically affect build +# reproducability. Change with care. +# +# config_opts['plugin_conf']['package_state_enable'] = True +config_opts['plugin_conf']['ccache_enable'] = False +# config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G' +# config_opts['plugin_conf']['ccache_opts']['compress'] = None +# config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/%(root)s/ccache/" +config_opts['plugin_conf']['yum_cache_enable'] = False +# config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] = 30 +# config_opts['plugin_conf']['yum_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/yum_cache/" +config_opts['plugin_conf']['root_cache_enable'] = False +# config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 15 +# config_opts['plugin_conf']['root_cache_opts']['dir'] = "%(cache_topdir)s/%(root)s/root_cache/" +# config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "pigz" +# config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz" +# config_opts['plugin_conf']['root_cache_opts']['exclude_dirs'] = ["./proc", "./sys", "./dev", +# "./tmp/ccache", "./var/cache/yum" ] +# +# bind mount plugin is enabled by default but has no configured directories to +# mount +# config_opts['plugin_conf']['bind_mount_enable'] = True +# config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/host/path', '/bind/mount/path/in/chroot/' )) +# +# config_opts['plugin_conf']['tmpfs_enable'] = False +# config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024 +# config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '512m' +# config_opts['plugin_conf']['chroot_scan_enable'] = False +# config_opts['plugin_conf']['chroot_scan_opts'] = [ "core(\.\d+)?", "\.log$",] + +############################################################################# +# +# environment for chroot +# +# config_opts['environment']['TERM'] = 'vt100' +# config_opts['environment']['SHELL'] = '/bin/bash' +# config_opts['environment']['HOME'] = '/builddir' +# config_opts['environment']['HOSTNAME'] = 'mock' +# config_opts['environment']['PATH'] = '/usr/bin:/bin:/usr/sbin:/sbin' +# config_opts['environment']['PROMPT_COMMAND'] = 'echo -n ""' +# config_opts['environment']['LANG'] = os.environ.setdefault('LANG', 'en_US.UTF-8') +# config_opts['environment']['TZ'] = os.environ.setdefault('TZ', 'EST5EDT') + +############################################################################# +# +# Things that you can change, but we dont recommend it: +# config_opts['chroothome'] = '/builddir' +# config_opts['clean'] = True + +############################################################################# +# +# Things that must be adjusted if SCM integration is used: +# +# config_opts['scm'] = True +# config_opts['scm_opts']['method'] = 'git' +# config_opts['scm_opts']['cvs_get'] = 'cvs -d /srv/cvs co SCM_BRN SCM_PKG' +# config_opts['scm_opts']['git_get'] = 'git clone SCM_BRN git://localhost/SCM_PKG.git SCM_PKG' +# config_opts['scm_opts']['svn_get'] = 'svn co file:///srv/svn/SCM_PKG/SCM_BRN SCM_PKG' +# config_opts['scm_opts']['spec'] = 'SCM_PKG.spec' +# config_opts['scm_opts']['ext_src_dir'] = '/dev/null' +# config_opts['scm_opts']['write_tar'] = True +# config_opts['scm_opts']['git_timestamps'] = True + +# These options are also recognized but usually defined in cmd line +# with --scm-option package= --scm-option branch= +# config_opts['scm_opts']['package'] = 'mypkg' +# config_opts['scm_opts']['branch'] = 'master' + +############################################################################# +# +# Things that are best suited for individual chroot config files: +# +# MUST SET (in individual chroot cfg file): +# config_opts['root'] = 'name-of-yum-build-dir' +# config_opts['target_arch'] = 'i386' +# config_opts['yum.conf'] = '' +# config_opts['yum_common_opts'] = [] +# +# CAN SET, defaults usually work ok: +# config_opts['chroot_setup_cmd'] = 'install buildsys-build' +# config_opts['log_config_file'] = 'logging.ini' +# config_opts['more_buildreqs']['srpm_name-version-release'] = 'dependencies' +# config_opts['macros']['%Add_your_macro_name_here'] = "add macro value here" +# config_opts['files']['path/name/no/leading/slash'] = "put file contents here." +# config_opts['chrootuid'] = os.getuid() + +# If you change chrootgid, you must also change "mock" to the correct group +# name in this line of the mock PAM config: +# auth sufficient pam_succeed_if.so user ingroup mock use_uid quiet +# config_opts['chrootgid'] = grp.getgrnam("mock")[2] + +# config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s -n %(user)s' # Fedora/RedHat +# +# Security related +# config_opts['no_root_shells'] = False +# +# Proxy settings (https_proxy, ftp_proxy, and no_proxy can also be set) +# config_opts['http_proxy'] = 'http://localhost:3128' diff --git a/mock/syslinux-4.05-5.el7-x86_64.cfg b/mock/syslinux-4.05-5.el7-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/syslinux-4.05-5.el7-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/totem-3.8.2-1.el7-x86_64.cfg b/mock/totem-3.8.2-1.el7-x86_64.cfg new file mode 100644 index 0000000..d3a8f5a --- /dev/null +++ b/mock/totem-3.8.2-1.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=irc-libs irc-devel + +""" diff --git a/mock/valgrind-3.9.0-1.2.el7-x86_64.cfg b/mock/valgrind-3.9.0-1.2.el7-x86_64.cfg new file mode 100644 index 0000000..69ec2b1 --- /dev/null +++ b/mock/valgrind-3.9.0-1.2.el7-x86_64.cfg @@ -0,0 +1,53 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkgs=gcc-java libgcj + +""" diff --git a/mock/xorg-x11-server-1.14.99.901-5.20131101.el7-x86_64.cfg b/mock/xorg-x11-server-1.14.99.901-5.20131101.el7-x86_64.cfg new file mode 100644 index 0000000..63dce35 --- /dev/null +++ b/mock/xorg-x11-server-1.14.99.901-5.20131101.el7-x86_64.cfg @@ -0,0 +1,52 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ + +[f19] +name=f19 +enabled=1 +baseurl=http://repohost/tmp/mirror/f19-x86_64/ +includepkg=wayland wayland-devel + +""" diff --git a/mock/xvattr-1.3-24.el7-x86_64.cfg b/mock/xvattr-1.3-24.el7-x86_64.cfg new file mode 100644 index 0000000..46f8d93 --- /dev/null +++ b/mock/xvattr-1.3-24.el7-x86_64.cfg @@ -0,0 +1,45 @@ +config_opts['root'] = 'rhel-7b1-x86_64' +config_opts['basedir'] = 'MOCKROOT' +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' +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=*.i?86 + +# repos +[base] +name=BaseOS +enabled=1 +baseurl=http://repohost/tmp/mirror/r7b1/ + +[r7b1] +name=r7b1 +enabled=1 +baseurl=http://repohost/tmp/repo/r7b1/ +"""