redhat: support epel yum configs in mockbuild
authorDerrick Brashear <shadow@dementia.org>
Wed, 20 Jul 2011 18:55:32 +0000 (14:55 -0400)
committerDerrick Brashear <shadow@dementia.org>
Thu, 21 Jul 2011 22:47:00 +0000 (15:47 -0700)
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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/packaging/RedHat/mockbuild.pl

index 5543c67..890f2df 100755 (executable)
@@ -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",