redhat: support epel yum configs in mockbuild
[openafs.git] / 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",