From a13a011bc0becd684e2e25e54712dfc3b32d507d Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Apr 23 2018 20:04:11 +0000 Subject: special config for nfs-utils.ppc --- diff --git a/mock/nfs-utils-1.3.0-0.54.el7.ppc.cfg b/mock/nfs-utils-1.3.0-0.54.el7.ppc.cfg new file mode 100644 index 0000000..cdc7d87 --- /dev/null +++ b/mock/nfs-utils-1.3.0-0.54.el7.ppc.cfg @@ -0,0 +1,57 @@ +config_opts['root'] = 'TARGETNAME' +config_opts['basedir'] = '/var/lib/mock' +config_opts['target_arch'] = 'ppc' +config_opts['legal_host_arches'] = ('ppc','ppc64',) +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 vim-minimal 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'] = "ppc-redhat-linux-gnu" + +config_opts['plugin_conf']['ccache_enable'] = False + +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 +skip_broken=1 + +# repos +[c7.1708.u.ppc] +name=c7.1708.u.ppc +baseurl=http://repohost/repo/c7.1708.u.ppc64/ +gpgcheck=0 +cost=1900 + +[c7.1708.00.ppc] +name=c7.1708.00.ppc +baseurl=http://repohost/repo/c7.1708.00.ppc64/ +gpgcheck=0 +cost=1700 + +[c7.1804.00.ppc] +name=c7.1804.00.ppc +baseurl=http://repohost/repo/c7.1804.00.ppc64/ +gpgcheck=0 +cost=1700 + +""" +