summaryrefslogtreecommitdiffstats
path: root/el4m.cfg
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-20 14:00:19 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-20 14:00:19 +0100
commitc3b30d033c48ed0e863611ce9d37ee59acbe8aca (patch)
tree961ed3f3083a0eca6fb8fec43f0d36b80d2b70aa /el4m.cfg
save mock configuration files
Diffstat (limited to 'el4m.cfg')
-rw-r--r--el4m.cfg75
1 files changed, 75 insertions, 0 deletions
diff --git a/el4m.cfg b/el4m.cfg
new file mode 100644
index 0000000..44d918c
--- /dev/null
+++ b/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
+
+"""