diff --git a/mock/c7.00.00-i386.cfg b/mock/c7.00.00-i386.cfg new file mode 120000 index 0000000..cd1899a --- /dev/null +++ b/mock/c7.00.00-i386.cfg @@ -0,0 +1 @@ +c7.00.00-i686.cfg \ No newline at end of file diff --git a/mock/c7.00.00-i686.cfg b/mock/c7.00.00-i686.cfg new file mode 100644 index 0000000..715a253 --- /dev/null +++ b/mock/c7.00.00-i686.cfg @@ -0,0 +1,72 @@ +config_opts['root'] = 'c7.00.00-i686' +config_opts['basedir'] = 'MOCKROOT' +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' +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 redhat-logos + +# repos +[c7.00.01] +name=c7.00.01 +enabled=1 +#cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=1 +#cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.00/ + +[c6.99.01] +name=c6.99.01 +enabled=1 +#cost=2400 +baseurl=http://repohost/tmp/repo/c6.99.01/ + +[c6.99.00] +name=c6.99.00 +enabled=1 +#cost=2500 +baseurl=http://repohost/tmp/repo/c6.99.00/ + +[7rc] +name=7rc +enabled=1 +#cost=5000 +baseurl=http://repohost/tmp/mirror/7rc/ +exclude=gupnp-dlna* gnome-settings-daemon + +[f19-i686] +name=f19-i686 +enabled=0 +#cost=5000 +baseurl=http://repohost/tmp/mirror/f19-i686 + +""" diff --git a/mock/c7.00.00-noarch.cfg b/mock/c7.00.00-noarch.cfg new file mode 120000 index 0000000..6060a63 --- /dev/null +++ b/mock/c7.00.00-noarch.cfg @@ -0,0 +1 @@ +c7.00.00-x86_64.cfg \ No newline at end of file diff --git a/mock/c7.00.00-x86_64.cfg b/mock/c7.00.00-x86_64.cfg new file mode 100644 index 0000000..954c605 --- /dev/null +++ b/mock/c7.00.00-x86_64.cfg @@ -0,0 +1,54 @@ +config_opts['root'] = 'c7.00.00-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= + +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 +exclude=redhat-logos + +# repos +[c7.00.01] +name=c7.00.01 +enabled=1 +cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=1 +cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.00/ + +[r7rc] +name=r7rc +enabled=1 +cost=500 +baseurl=http://repohost/tmp/mirror/r7rc/ +""" diff --git a/mock/c7.00.01-i386.cfg b/mock/c7.00.01-i386.cfg new file mode 120000 index 0000000..71dc496 --- /dev/null +++ b/mock/c7.00.01-i386.cfg @@ -0,0 +1 @@ +c7.00.01-i686.cfg \ No newline at end of file diff --git a/mock/c7.00.01-i686.cfg b/mock/c7.00.01-i686.cfg new file mode 100644 index 0000000..bab7359 --- /dev/null +++ b/mock/c7.00.01-i686.cfg @@ -0,0 +1,65 @@ +config_opts['root'] = 'c7.00.01-i686' +config_opts['basedir'] = 'MOCKROOT' +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' +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 redhat-logos + +# repos +[c7.00.01] +name=c7.00.01 +enabled=1 +cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=1 +cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.00/ + +[c6.99.01] +name=c6.99.01 +enabled=0 +cost=2400 +baseurl=http://repohost/tmp/repo/c6.99.01/ + +[c6.99.00] +name=c6.99.00 +enabled=0 +cost=2500 +baseurl=http://repohost/tmp/repo/c6.99.00/ + +[7rc] +name=7rc +enabled=1 +cost=500 +baseurl=http://repohost/tmp/mirror/7rc/ + +""" diff --git a/mock/c7.00.01-noarch.cfg b/mock/c7.00.01-noarch.cfg new file mode 120000 index 0000000..213e4e7 --- /dev/null +++ b/mock/c7.00.01-noarch.cfg @@ -0,0 +1 @@ +c7.00.01-x86_64.cfg \ No newline at end of file diff --git a/mock/c7.00.01-x86_64.cfg b/mock/c7.00.01-x86_64.cfg new file mode 100644 index 0000000..04e500e --- /dev/null +++ b/mock/c7.00.01-x86_64.cfg @@ -0,0 +1,54 @@ +config_opts['root'] = 'c7.00.01-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= + +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 +exclude=redhat-logos + +# repos +[c7.00.01] +name=c7.00.01 +enabled=1 +cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=1 +cost=2000 +baseurl=http://repohost/tmp/repo/c7.00.00/ + +[r7rc] +name=r7rc +enabled=1 +cost=500 +baseurl=http://repohost/tmp/mirror/r7rc/ +""" diff --git a/mock/c7.00.02-i386.cfg b/mock/c7.00.02-i386.cfg new file mode 120000 index 0000000..3886889 --- /dev/null +++ b/mock/c7.00.02-i386.cfg @@ -0,0 +1 @@ +c7.00.02-i686.cfg \ No newline at end of file diff --git a/mock/c7.00.02-i686.cfg b/mock/c7.00.02-i686.cfg new file mode 100644 index 0000000..7b5d1d2 --- /dev/null +++ b/mock/c7.00.02-i686.cfg @@ -0,0 +1,60 @@ +config_opts['root'] = 'c7.00.02-i686' +config_opts['basedir'] = 'MOCKROOT' +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' +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 redhat-logos + +# repos +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.02/ + +[c7.00.01] +name=c7.00.01 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.00/ +exclude=libcdio* gupnp-dlna* + +[7rc] +name=7rc +enabled=1 +cost=2500 +baseurl=http://repohost/tmp/mirror/7rc/ + +""" diff --git a/mock/c7.00.02-noarch.cfg b/mock/c7.00.02-noarch.cfg new file mode 120000 index 0000000..bbf86d7 --- /dev/null +++ b/mock/c7.00.02-noarch.cfg @@ -0,0 +1 @@ +c7.00.02-x86_64.cfg \ No newline at end of file diff --git a/mock/c7.00.02-x86_64.cfg b/mock/c7.00.02-x86_64.cfg new file mode 100644 index 0000000..3dcdda8 --- /dev/null +++ b/mock/c7.00.02-x86_64.cfg @@ -0,0 +1,61 @@ +config_opts['root'] = 'c7.00.02-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= + +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 +exclude=redhat-logos + +# repos +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.02/ + +[c7.00.01] +name=c7.00.01 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.00/ +exclude=libcdio* gupnp-dlna* + +[r7rc] +name=r7rc +enabled=1 +cost=2500 +baseurl=http://repohost/tmp/mirror/r7rc/ +""" diff --git a/mock/c7.00.03-i386.cfg b/mock/c7.00.03-i386.cfg new file mode 120000 index 0000000..7f2f46e --- /dev/null +++ b/mock/c7.00.03-i386.cfg @@ -0,0 +1 @@ +c7.00.03-i686.cfg \ No newline at end of file diff --git a/mock/c7.00.03-i686.cfg b/mock/c7.00.03-i686.cfg new file mode 100644 index 0000000..7f5bd69 --- /dev/null +++ b/mock/c7.00.03-i686.cfg @@ -0,0 +1,48 @@ +config_opts['root'] = 'c7.00.03-i686' +config_opts['basedir'] = 'MOCKROOT' +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' +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 redhat-logos + +# repos +[c7.00.03] +name=c7.00.03 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.03/ + +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=1000 +baseurl=http://repohost/tmp/repo/c7.00.02/ + + +""" diff --git a/mock/c7.00.03-x86_64.cfg b/mock/c7.00.03-x86_64.cfg new file mode 100644 index 0000000..e78f9b3 --- /dev/null +++ b/mock/c7.00.03-x86_64.cfg @@ -0,0 +1,49 @@ +config_opts['root'] = 'c7.00.03-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= + +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 +exclude=redhat-logos + +# repos +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.03/ + +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=1000 +baseurl=http://repohost/tmp/repo/c7.00.02/ + +""" diff --git a/mock/pygobject3-3.8.2-4.el7-x86_64.cfg b/mock/pygobject3-3.8.2-4.el7-x86_64.cfg new file mode 100644 index 0000000..f156b32 --- /dev/null +++ b/mock/pygobject3-3.8.2-4.el7-x86_64.cfg @@ -0,0 +1,61 @@ +config_opts['root'] = 'c7.00.02-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= + +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 +exclude=redhat-logos + +# repos +[c7.00.02] +name=c7.00.02 +enabled=1 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.02/ + +[c7.00.01] +name=c7.00.01 +enabled=0 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.01/ + +[c7.00.00] +name=c7.00.00 +enabled=0 +cost=500 +baseurl=http://repohost/tmp/repo/c7.00.00/ +exclude=libcdio* gupnp-dlna* + +[r7rc] +name=r7rc +enabled=0 +cost=2500 +baseurl=http://repohost/tmp/mirror/r7rc/ +""" diff --git a/mock/readme.txt b/mock/readme.txt new file mode 100644 index 0000000..2f5286f --- /dev/null +++ b/mock/readme.txt @@ -0,0 +1,19 @@ +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. + +note: if doing custom mock configs for the kernel, its always +going to need a noarch.cfg as well