Tim Lauridsen wrote:
Florian Festi wrote:
Tim Lauridsen wrote:
Have some problems applying the patch to yum master, it is
complaining about a missing file.
Ehm, true. The patches I sent yesterday are not in yet. Try the one
attached here.
Still getting errors.
OK, there's another fix needed. See attachment.
With that it works for me.
Florian
>From 7d32ca1f3afedce57e8b01a29a007defd347a922 Mon Sep 17 00:00:00 2001
From: Florian Festi <[EMAIL PROTECTED]>
Date: Tue, 6 Nov 2007 15:51:20 +0100
Subject: [PATCH] Make rpmUtils.update use rpmUtils.arch.canonArch to avoid problems with test cases
---
rpmUtils/updates.py | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/rpmUtils/updates.py b/rpmUtils/updates.py
index 4a5eeba..e5a238b 100644
--- a/rpmUtils/updates.py
+++ b/rpmUtils/updates.py
@@ -38,10 +38,9 @@ class Updates:
self.exactarchlist = ['kernel', 'kernel-smp', 'glibc', 'kernel-hugemem',
'kernel-enterprise', 'kernel-bigmem', 'kernel-BOOT']
- self.myarch = rpmUtils.arch.getCanonArch() # this is for debugging only
- # set this if you want to
- # test on some other arch
- # otherwise leave it alone
+ self.myarch = rpmUtils.arch.canonArch # set this if you want to
+ # test on some other arch
+ # otherwise leave it alone
# make some dicts from installed and available
self.installdict = self.makeNADict(self.installed, 1)
--
1.5.3.3
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel