rpms/yum-utils/devel yum-utils-0.6-repoquery-newapi.patch, NONE, 1.1 yum-utils.spec, 1.8, 1.9
Bill Nottingham (notting)
fedora-extras-commits at redhat.com
Tue Aug 1 21:00:56 UTC 2006
Author: notting
Update of /cvs/extras/rpms/yum-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28069
Modified Files:
yum-utils.spec
Added Files:
yum-utils-0.6-repoquery-newapi.patch
Log Message:
add patch for repoquery
yum-utils-0.6-repoquery-newapi.patch:
--- NEW FILE yum-utils-0.6-repoquery-newapi.patch ---
--- yum-utils-0.6/repoquery.py.foo 2006-08-01 10:23:51.000000000 -0400
+++ yum-utils-0.6/repoquery.py 2006-08-01 10:28:24.000000000 -0400
@@ -30,7 +30,6 @@
import yum.config
import yum.Errors
import yum.packages
-import repomd.mdErrors
from rpmUtils.arch import getArchList
from rpmUtils.miscutils import formatRequire
from yum.misc import getCacheDir
@@ -325,7 +324,7 @@
try:
exact, match, unmatch = yum.packages.parsePackages(self.returnPkgList(), [name], casematch=1)
pkgs = exact + match
- except repomd.mdErrors.PackageSackError, err:
+ except yum.Errors.PackageSackError, err:
self.errorlog(0, err)
return self.queryPkgFactory(pkgs)
Index: yum-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/yum-utils/devel/yum-utils.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- yum-utils.spec 29 Jul 2006 06:30:32 -0000 1.8
+++ yum-utils.spec 1 Aug 2006 21:00:56 -0000 1.9
@@ -1,11 +1,12 @@
Summary: Utilities based around the yum package manager
Name: yum-utils
Version: 0.6
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL
Group: Development/Tools
Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-fastestmirror-newapi.patch
+Patch1: yum-utils-0.6-repoquery-newapi.patch
URL: http://linux.duke.edu/yum/download/yum-utils/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -106,6 +107,7 @@
%prep
%setup -q
%patch0
+%patch1 -p1
%install
rm -rf $RPM_BUILD_ROOT
@@ -198,6 +200,9 @@
/usr/lib/yum-plugins/downloadonly.*
%changelog
+* Tue Aug 1 2006 Bill Nottingham <notting at redhat.com>
+- add patch to fix repoqeury to work with current yum api
+
* Thu Jul 28 2006 Luke Macken <lmacken at redhat.com>
- Add patch to fix fastestmirror to work with new yum api
More information about the fedora-extras-commits
mailing list