--- /dev/null
+config_opts['root'] = 'epel-7-x86_64'
+config_opts['target_arch'] = 'x86_64'
+config_opts['legal_host_arches'] = ('x86_64',)
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+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=
+
+# repos
+[el]
+name=el
+mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-7-beta&arch=x86_64
+failovermethod=priority
+@EXCLUDES@
+
+[epel]
+name=epel
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
+failovermethod=priority
+@EXCLUDES@
+
+[testing]
+name=epel-testing
+enabled=0
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=x86_64
+failovermethod=priority
+@EXCLUDES@
+
+[epel-debug]
+name=epel-debug
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64
+failovermethod=priority
+enabled=0
+@EXCLUDES@
+
+[local]
+name=Local
+baseurl=file://@PWD@/@REPO@
+protect=1
+priority=40
+
+[local-ext]
+name=External
+baseurl=file://@PWD@/@REPO_EXT@
+protect=1
+priority=40
+"""
# moduser -a -A mock $LOGNAME
# usermod -a -G mock $LOGNAME
#
+# tools: mock rpm-build rpm-sign
+# pre-requires for L&B: ant gsoap-devel
+#
# ==== pbuilder ====
#
# cat > /root/.pbuilderrc <<EOF
major=`rpm -q fedora-release | sed 's/fedora-release-\([0-9]*\)-.*/\1/'`
CONF=fed-$major-$ARCH
;;
+ Red*Hat*)
+ CONF=epel-7-$ARCH
+ ;;
*)
echo "Unknown OS '$OS'"
exit 1