rpms/yum-utils/devel yum-utils-0.6-fastestmirror-newapi.patch, NONE, 1.1 yum-utils.spec, 1.7, 1.8

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Sat Jul 29 06:30:33 UTC 2006


Author: lmacken

Update of /cvs/extras/rpms/yum-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16124

Modified Files:
	yum-utils.spec 
Added Files:
	yum-utils-0.6-fastestmirror-newapi.patch 
Log Message:
rebuild

yum-utils-0.6-fastestmirror-newapi.patch:

--- NEW FILE yum-utils-0.6-fastestmirror-newapi.patch ---
--- plugins/fastestmirror/fastestmirror.py.orig	2006-02-10 00:47:32.000000000 -0500
+++ plugins/fastestmirror/fastestmirror.py	2006-06-22 17:55:13.000000000 -0400
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Version: 0.2.4
+# Version: 0.2.5
 #
 # A plugin for the Yellowdog Updater Modified which sorts each repo's
 # mirrorlist by connection speed prior to metadata download.
@@ -39,11 +39,11 @@
 import datetime
 import threading
 
-from yum.plugins import TYPE_INTERFACE, TYPE_CORE
+from yum.plugins import TYPE_INTERACTIVE, TYPE_CORE
 from yum.plugins import PluginYumExit
 
 requires_api_version = '2.1'
-plugin_type = (TYPE_INTERFACE, TYPE_CORE)
+plugin_type = (TYPE_INTERACTIVE, TYPE_CORE)
 
 verbose = False
 socket_timeout = 3
@@ -74,8 +74,8 @@
     for repo in repos.listEnabled():
         if not repomirrors.has_key(str(repo)):
             repomirrors[str(repo)] = FastestMirror(repo.urls).get_mirrorlist()
-        repo.set('urls', repomirrors[str(repo)])
-        repo.set('failovermethod', 'priority')
+        repo.urls = repomirrors[str(repo)]
+        repo.failovermethod = 'priority'
         repo.check()
         repo.setupGrab()
     if not loadcache:


Index: yum-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/yum-utils/devel/yum-utils.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- yum-utils.spec	29 Jul 2006 02:27:19 -0000	1.7
+++ yum-utils.spec	29 Jul 2006 06:30:32 -0000	1.8
@@ -1,7 +1,7 @@
 Summary: Utilities based around the yum package manager
 Name: yum-utils
 Version: 0.6
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPL
 Group: Development/Tools
 Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz




More information about the fedora-extras-commits mailing list