[yum-cvs] yum/rpmUtils arch.py,1.9,1.10
Jeremy Katz
katzj at login.linux.duke.edu
Tue May 10 02:18:47 UTC 2005
Update of /home/groups/yum/cvs/yum/rpmUtils
In directory login:/tmp/cvs-serv31547/rpmUtils
Modified Files:
arch.py
Log Message:
2005-05-09 Jeremy Katz <katzj at redhat.com>
* rpmUtils/arch.py (getBaseArch): ppc64 and sparc64 are odd in
that you want a mostly ppc and sparc userland respectively. make
$basearch realize that.
Index: arch.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/rpmUtils/arch.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- arch.py 31 Oct 2004 03:29:57 -0000 1.9
+++ arch.py 10 May 2005 02:18:45 -0000 1.10
@@ -240,6 +240,11 @@
if not arches.has_key(myarch): # this is dumb, but <shrug>
return myarch
+
+ if myarch == "sparc64":
+ return "sparc"
+ elif myarch == "ppc64":
+ return "ppc"
if isMultiLibArch(arch=myarch):
if multilibArches.has_key(myarch):
More information about the Yum-cvs-commits
mailing list