]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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>
Fri, 22 Jul 2011 12:31:18 +0000 (05:31 -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.

Reviewed-on: http://gerrit.openafs.org/5056
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 45f0cbf83aed2bd534e9b43822c033ef6b4a9b1b)

Change-Id: Ic46bcbcc8045773d8ce248fe2dea93b27d24ecf2
Reviewed-on: http://gerrit.openafs.org/5067
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/packaging/RedHat/mockbuild.pl

index 5543c67e4706ce581ea82672b39713c285cce944..890f2df81303d769832f211e7adb0c4bd9605daf 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",