From 98c2c2baa02c0aeeda1a1823504cd81ab9833ed2 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 20 Jul 2011 14:55:32 -0400 Subject: [PATCH] redhat: support epel yum configs in mockbuild epel's mock is useful in terms of config, but we need to allow use of it. do so here. add centos6 at the same time. Reviewed-on: http://gerrit.openafs.org/5056 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 45f0cbf83aed2bd534e9b43822c033ef6b4a9b1b) Change-Id: Ic46bcbcc8045773d8ce248fe2dea93b27d24ecf2 Reviewed-on: http://gerrit.openafs.org/5067 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/packaging/RedHat/mockbuild.pl | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/packaging/RedHat/mockbuild.pl b/src/packaging/RedHat/mockbuild.pl index 5543c67e4..890f2df81 100755 --- a/src/packaging/RedHat/mockbuild.pl +++ b/src/packaging/RedHat/mockbuild.pl @@ -57,6 +57,46 @@ my %platconf = ( "centos-4-i386" => { osver => "el4", basearch => 'x86_64', updaterepo => 'update', results => "rhel5/x86_64" }, + "centos-6-i386" => { osver => "el6", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => "rhel6/i386" }, + "centos-6-x86_64" => { osver => "el6", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel6/x86_64" }, + "epel-4-i386" => { osver => "el4", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => 'rhel4/i386' }, + "epel-4-x86_64" => { osver => "el4", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel4/x86_64" }, + "epel-5-i386" => { osver => "el5", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => "rhel5/i386" }, + "epel-5-x86_64" => { osver => "el5", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel5/x86_64" }, + "epel-6-i386" => { osver => "el6", + kmod => '1', + basearch => 'i386', + updaterepo => 'update', + results => "rhel6/i386" }, + "epel-6-x86_64" => { osver => "el6", + kmod => '1', + basearch => 'x86_64', + updaterepo => 'update', + results => "rhel6/x86_64" }, "fedora-14-i386" => { osver => "fc14", kmod => "1", basearch => "i386", -- 2.39.5