From: Derrick Brashear Date: Wed, 20 Jul 2011 18:55:32 +0000 (-0400) Subject: redhat: support epel yum configs in mockbuild X-Git-Tag: upstream/1.8.0_pre1^2~3508 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=45f0cbf83aed2bd534e9b43822c033ef6b4a9b1b;p=packages%2Fo%2Fopenafs.git 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. Change-Id: I781fc475389c5be56aa89041b8d22b166517a3f5 Reviewed-on: http://gerrit.openafs.org/5056 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- 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",