diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-03-20 14:00:19 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-03-20 14:00:19 +0100 |
commit | b1878fec8fa343790674cb7c2c7500529246c2b5 (patch) | |
tree | ff8a8826d61c2344361785ff0fcd282e2b0031dc /mock/el4m.cfg | |
parent | cae031b31bdf47fd9a0060a8abc7b01daee6b013 (diff) |
save mock configuration files
Diffstat (limited to 'mock/el4m.cfg')
-rw-r--r-- | mock/el4m.cfg | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/mock/el4m.cfg b/mock/el4m.cfg new file mode 100644 index 0000000..44d918c --- /dev/null +++ b/mock/el4m.cfg @@ -0,0 +1,75 @@ +#!/usr/bin/python -tt +import os +config_opts['root'] = 'el4m' +config_opts['target_arch'] = 'i386' + +config_opts['macros'] = """ +%_topdir /builddir/build +%_smp_mflags -j3 +%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm + +%vendor Remi Collet +%packager http://remi.collet.free.fr/ + +%dist .el4.remi +%rhel 4 + +%_with_dbase 1 +%_with_oci8 1 +%_with_mcrypt 1 +%_with_mhash 1 +%_with_mssql 1 +%_with_readline 1 +%_with_tidy 1 + +""" + + +config_opts['yum.conf'] = """ +[main] +cachdir=/var/cache/yum +debuglevel=1 +logfile=/var/log/yum.log +reposdir=/dev/null +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +exclude=*.x86_64 + +# repos + +[core] +name=base +#mirrorlist=http://mirror.centos.org/?release=4&arch=i386&repo=os +baseurl=http://mirror.centos.org/centos-4/4/os/i386/ + +[update] +name=updates +#mirrorlist=http://mirror.centos.org/?release=4&arch=i386&repo=updates +baseurl=http://mirror.centos.org/centos-4/4/updates/i386/ + +[groups] +name=groups +baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/ + +[extras] +name=epel +#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386 +baseurl=http://mirrors.ircam.fr/pub/fedora/epel/4/i386 + +[local] +name=local +baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/ + +[remi] +name=remi public +baseurl=file:/home/rpmbuild/site/rpms/el4.i386/ +enabled=0 + +[remi-priv] +name=remi prive +baseurl=file:/home/rpmbuild/site/rpms/priv-el4.i386/ +enabled=0 + +""" |