commit 03279a0e8f316f573c452779ac630b76fc29e421
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Dec 13 15:40:06 2014 +0100
Add mock config for f21
.../files/config/fedora-21-i386-rpmfusion_free.cfg | 71 +++++++++++++++
.../config/fedora-21-i386-rpmfusion_nonfree.cfg | 92 ++++++++++++++++++++
.../config/fedora-21-x86_64-rpmfusion_free.cfg | 74 ++++++++++++++++
.../config/fedora-21-x86_64-rpmfusion_nonfree.cfg | 89 +++++++++++++++++++
4 files changed, 326 insertions(+), 0 deletions(-)
---
diff --git a/modules/mock/files/config/fedora-21-i386-rpmfusion_free.cfg
b/modules/mock/files/config/fedora-21-i386-rpmfusion_free.cfg
new file mode 100644
index 0000000..c6e7657
--- /dev/null
+++ b/modules/mock/files/config/fedora-21-i386-rpmfusion_free.cfg
@@ -0,0 +1,71 @@
+config_opts['root'] = 'fedora-21-i386-rpmfusion_free'
+config_opts['target_arch'] = 'i386'
+
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc21' # only useful for --resultdir variable
subst
+config_opts['macros']['%distribution'] = 'Fedora 21'
+config_opts['macros']['%vendor'] = 'RPM Fusion'
+config_opts['macros']['%packager'] =
'<http://free.rpmfusion.org/>'
+
+
+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
+metadata_expire=0
+failovermethod=priority
+
+## repos
+
+# base (fedora/el)
+
+[fedora]
+name=Fedora 21
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/i386/os/
+
+[updates-released]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/21/i386/
+
+[updates-testing]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/21/i386/
+
+# rpmfusion free
+
+[rpmfusion-free]
+name=RPM Fusion free for Fedora 21
+baseurl=http://download1.rpmfusion.org/free/fedora/releases/21/Everything/i386/os/
+
http://download1.rpmfusion.org/free/fedora/releases/21/Everything/i386/os/
+
+[rpmfusion-free-updates]
+name=RPM Fusion free for Fedora 21, updates
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/21/i386/
+
http://download1.rpmfusion.org/free/fedora/updates/21/i386/
+
+[rpmfusion-free-updates-testing]
+name=RPM Fusion free for Fedora 21, updates-testing
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/21/i386/
+
http://download1.rpmfusion.org/free/fedora/updates/testing/21/i386/
+
+[rpmfusion-free-needsign]
+name=RPM Fusion free for Fedora 21, needsign
+baseurl=http://buildsys.rpmfusion.org/plague-results/fedora-21-rpmfusion_free/
+
+# buildsys
+
+[buildsys_private]
+name=Buildsys RPM Fusion free for Fedora 21, private
+baseurl=http://buildsys.rpmfusion.org/builsys_private/fedora/21/i386/
+
+[buildsys_kernel-devel]
+name=Buildsys RPM Fusion free for Fedora 21, kernel-devel
+baseurl=http://buildsys.rpmfusion.org/kernel-devel-pkgs/fedora/21/
+
+"""
diff --git a/modules/mock/files/config/fedora-21-i386-rpmfusion_nonfree.cfg
b/modules/mock/files/config/fedora-21-i386-rpmfusion_nonfree.cfg
new file mode 100644
index 0000000..e60fce1
--- /dev/null
+++ b/modules/mock/files/config/fedora-21-i386-rpmfusion_nonfree.cfg
@@ -0,0 +1,92 @@
+config_opts['root'] = 'fedora-21-i386-rpmfusion_nonfree'
+config_opts['target_arch'] = 'i386'
+
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc21' # only useful for --resultdir variable
subst
+config_opts['macros']['%distribution'] = 'Fedora 21'
+config_opts['macros']['%vendor'] = 'RPM Fusion'
+config_opts['macros']['%packager'] =
'<http://nonfree.rpmfusion.org/>'
+
+
+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
+metadata_expire=0
+failovermethod=priority
+
+## repos
+
+# base (fedora/el)
+
+[fedora]
+name=Fedora 21
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/i386/os/
+
+[updates-released]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/21/i386/
+
+[updates-testing]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/21/i386/
+
+# rpmfusion free
+
+[rpmfusion-free]
+name=RPM Fusion free for Fedora 21
+baseurl=http://download1.rpmfusion.org/free/fedora/releases/21/Everything/i386/os/
+
http://download1.rpmfusion.org/free/fedora/releases/21/Everything/i386/os/
+
+[rpmfusion-free-updates]
+name=RPM Fusion free for Fedora 21, updates
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/21/i386/
+
http://download1.rpmfusion.org/free/fedora/updates/21/i386/
+
+[rpmfusion-free-updates-testing]
+name=RPM Fusion free for Fedora 21, updates-testing
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/21/i386/
+
http://download1.rpmfusion.org/free/fedora/updates/testing/21/i386/
+
+[rpmfusion-free-needsign]
+name=RPM Fusion free for Fedora 21, needsign
+baseurl=http://buildsys.rpmfusion.org/plague-results/fedora-21-rpmfusion_free/
+
+# rpmfusion nonfree
+
+[rpmfusion-nonfree]
+name=RPM Fusion nonfree for Fedora 21
+baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/21/Everything/i386/os/
+
http://download1.rpmfusion.org/nonfree/fedora/releases/21/Everything/i386...
+
+[rpmfusion-nonfree-updates]
+name=RPM Fusion nonfree for Fedora 21, updates
+baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/21/i386/
+
http://download1.rpmfusion.org/nonfree/fedora/updates/21/i386/
+
+[rpmfusion-nonfree-updates-testing]
+name=RPM Fusion nonfree for Fedora 21, updates-testing
+baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/21/i386/
+
http://download1.rpmfusion.org/nonfree/fedora/updates/testing/21/i386/
+
+[rpmfusion-nonfree-needsign]
+name=RPM Fusion nonfree for Fedora 21, needsign
+baseurl=http://buildsys.rpmfusion.org/plague-results/fedora-21-rpmfusion_nonfree/
+
+# buildsys
+
+[buildsys_private]
+name=Buildsys RPM Fusion nonfree for Fedora 21, private
+baseurl=http://buildsys.rpmfusion.org/builsys_private/fedora/21/i386/
+
+[buildsys_kernel-devel]
+name=Buildsys RPM Fusion nonfree for Fedora 21, kernel-devel
+baseurl=http://buildsys.rpmfusion.org/kernel-devel-pkgs/fedora/21/
+
+"""
diff --git a/modules/mock/files/config/fedora-21-x86_64-rpmfusion_free.cfg
b/modules/mock/files/config/fedora-21-x86_64-rpmfusion_free.cfg
new file mode 100644
index 0000000..35bb3d3
--- /dev/null
+++ b/modules/mock/files/config/fedora-21-x86_64-rpmfusion_free.cfg
@@ -0,0 +1,74 @@
+config_opts['root'] = 'fedora-21-x86_64-rpmfusion_free'
+config_opts['target_arch'] = 'x86_64'
+
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc21' # only useful for --resultdir variable
subst
+config_opts['macros']['%distribution'] = 'Fedora 21'
+config_opts['macros']['%vendor'] = 'RPM Fusion'
+config_opts['macros']['%packager'] =
'<http://free.rpmfusion.org/>'
+
+
+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
+metadata_expire=0
+failovermethod=priority
+# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to
exclude all
+# .i?86 packages except these.
+exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86
gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86
+
+## repos
+
+# base (fedora/el)
+
+[fedora]
+name=Fedora 21
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
+
+[updates-released]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/21/x86_64/
+
+[updates-testing]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/21/x86_64/
+
+# rpmfusion free
+
+[rpmfusion-free]
+name=RPM Fusion free for Fedora 21
+baseurl=http://download1.rpmfusion.org/free/fedora/releases/21/Everything/x86_64/os/
+
http://download1.rpmfusion.org/free/fedora/releases/21/Everything/x86_64/os/
+
+[rpmfusion-free-updates]
+name=RPM Fusion free for Fedora 21, updates
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/21/x86_64/
+
http://download1.rpmfusion.org/free/fedora/updates/21/x86_64/
+
+[rpmfusion-free-updates-testing]
+name=RPM Fusion free for Fedora 21, updates-testing
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/21/x86_64/
+
http://download1.rpmfusion.org/free/fedora/updates/testing/21/x86_64/
+
+[rpmfusion-free-needsign]
+name=RPM Fusion free for Fedora 21, needsign
+baseurl=http://buildsys.rpmfusion.org/plague-results/fedora-21-rpmfusion_free/
+
+# buildsys
+
+[buildsys_private]
+name=Buildsys RPM Fusion free for Fedora 21, private
+baseurl=http://buildsys.rpmfusion.org/builsys_private/fedora/21/x86_64/
+
+[buildsys_kernel-devel]
+name=Buildsys RPM Fusion free for Fedora 21, kernel-devel
+baseurl=http://buildsys.rpmfusion.org/kernel-devel-pkgs/fedora/21/
+
+"""
diff --git a/modules/mock/files/config/fedora-21-x86_64-rpmfusion_nonfree.cfg
b/modules/mock/files/config/fedora-21-x86_64-rpmfusion_nonfree.cfg
new file mode 100644
index 0000000..a9fde06
--- /dev/null
+++ b/modules/mock/files/config/fedora-21-x86_64-rpmfusion_nonfree.cfg
@@ -0,0 +1,89 @@
+config_opts['root'] = 'fedora-21-x86_64-rpmfusion_nonfree'
+config_opts['target_arch'] = 'x86_64'
+
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+config_opts['dist'] = 'fc21' # only useful for --resultdir variable
subst
+config_opts['macros']['%distribution'] = 'Fedora 21'
+config_opts['macros']['%vendor'] = 'RPM Fusion'
+config_opts['macros']['%packager'] =
'<http://nonfree.rpmfusion.org/>'
+
+
+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
+metadata_expire=0
+failovermethod=priority
+# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to
exclude all
+# .i?86 packages except these.
+exclude=[0-9A-Za-fh-z]*.i?86 g[0-9A-Za-km-z]*.i?86 gl[0-9A-Za-hj-z]*.i?86
gli[0-9A-Zac-z]*.i?86 glib[0-9A-Za-bd-z]*.i?86
+
+## repos
+
+# base (fedora/el)
+
+[fedora]
+name=Fedora 21
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/
+
+[updates-released]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/21/x86_64/
+
+[updates-testing]
+name=Fedora 21, updates
+baseurl=http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/21/x86_64/
+
+# rpmfusion free
+
+[rpmfusion-free]
+name=RPM Fusion free for Fedora 21
+baseurl=http://download1.rpmfusion.org/free/fedora/releases/21/Everything/x86_64/os/
+
+[rpmfusion-free-updates]
+name=RPM Fusion free for Fedora 21, updates
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/21/x86_64/
+
+[rpmfusion-free-updates-testing]
+name=RPM Fusion free for Fedora 21, updates-testing
+baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/21/x86_64/
+
+[rpmfusion-free-needsign]
+name=RPM Fusion free for Fedora 21, needsign
+baseurl=http://buildsys.rpmfusion.org/plague-results/fedora-21-rpmfusion_free/
+
+# rpmfusion nonfree
+
+[rpmfusion-nonfree]
+name=RPM Fusion nonfree for Fedora 21
+baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/21/Everything/x86_64/os/
+
+[rpmfusion-nonfree-updates]
+name=RPM Fusion nonfree for Fedora 21, updates
+baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/21/x86_64/
+
+[rpmfusion-nonfree-updates-testing]
+name=RPM Fusion nonfree for Fedora 21, updates-testing
+baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/21/x86_64/
+
+[rpmfusion-nonfree-needsign]
+name=RPM Fusion nonfree for Fedora 21, needsign
+baseurl=http://buildsys.rpmfusion.org/plague-results/fedora-21-rpmfusion_nonfree/
+
+# buildsys
+
+[buildsys_private]
+name=Buildsys RPM Fusion nonfree for Fedora 21, private
+baseurl=http://buildsys.rpmfusion.org/builsys_private/fedora/21/x86_64/
+
+[buildsys_kernel-devel]
+name=Buildsys RPM Fusion nonfree for Fedora 21, kernel-devel
+baseurl=http://buildsys.rpmfusion.org/kernel-devel-pkgs/fedora/21/
+
+"""