rpms/yum-utils/F-8 fastestmirror.patch, NONE, 1.1 yum-utils.spec, 1.32, 1.33
Tim Lauridsen (timlau)
fedora-extras-commits at redhat.com
Mon May 26 10:18:08 UTC 2008
Author: timlau
Update of /cvs/pkgs/rpms/yum-utils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20028
Modified Files:
yum-utils.spec
Added Files:
fastestmirror.patch
Log Message:
Release 1.1.4-3: fix som fastestmirror issues
fastestmirror.patch:
--- NEW FILE fastestmirror.patch ---
diff --git a/plugins/fastestmirror/fastestmirror.py b/plugins/fastestmirror/fastestmirror.py
index dc4df92..add870a 100644
--- a/plugins/fastestmirror/fastestmirror.py
+++ b/plugins/fastestmirror/fastestmirror.py
@@ -130,7 +130,7 @@ def postreposetup_hook(conduit):
"""
global loadcache, exclude
opts, commands = conduit.getCmdLine()
- if opts.cacheonly:
+ if hasattr(opts, 'cacheonly') and opts.cacheonly:
return
if loadcache:
conduit.info(2, "Loading mirror speeds from cached hostfile")
Index: yum-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yum-utils/F-8/yum-utils.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- yum-utils.spec 21 May 2008 12:37:04 -0000 1.32
+++ yum-utils.spec 26 May 2008 10:17:23 -0000 1.33
@@ -1,10 +1,11 @@
Summary: Utilities based around the yum package manager
Name: yum-utils
Version: 1.1.14
-Release: 1%{?dist}
+Release: 3%{?dist}
License: GPL
Group: Development/Tools
Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
+Patch: fastestmirror.patch
URL: http://linux.duke.edu/yum/download/yum-utils/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -259,6 +260,9 @@
%prep
%setup -q
+%patch -p1
+# temporary fix: we don't want fastestmirror-asyncore.py
+rm -f $RPM_BUILD_ROOT/plugins/fastestmirror/fastestmirror-asyncore.py
%install
rm -rf $RPM_BUILD_ROOT
@@ -453,6 +457,10 @@
/usr/lib/yum-plugins/keys.*
%changelog
+* Mon May 26 2008 Tim Lauridsen <timlau at fedoraproject.org>
+- remove the fastestmirror-asyncore.py, we dont want it in this release
+* Sat May 24 2008 Tim Lauridsen <timlau at fedoraproject.org>
+- Added fastestmirror.patch from upstream to fix issues with the fastestmirror plugin.
* Wed May 21 2008 Tim Lauridsen <timlau at fedoraproject.org>
Make yum-fastestmirror %%files handle the fastestmirror-asyncore.py file
* Wed May 21 2008 Tim Lauridsen <timlau at fedoraproject.org>
More information about the fedora-extras-commits
mailing list