rpms/yum-utils/devel repoquery-not-installed.patch, NONE, 1.1 yum-utils.spec, 1.82, 1.83

James Antill james at fedoraproject.org
Mon Jun 7 18:38:26 UTC 2010


Author: james

Update of /cvs/pkgs/rpms/yum-utils/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24505

Modified Files:
	yum-utils.spec 
Added Files:
	repoquery-not-installed.patch 
Log Message:
* Sun Jun 6 2010 James Antill <james at fedoraproject.org>
- Fix repoquery in 1.1.27  


repoquery-not-installed.patch:
 repoquery.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE repoquery-not-installed.patch ---
commit 123d241f35401386f514cee852a0ea2f174be500
Author: James Antill <james at and.org>
Date:   Sun Jun 6 23:10:37 2010 -0400

    Fix stupid typo in repoquery, let non-installed packages work again

diff --git a/repoquery.py b/repoquery.py
index 2992b2d..1186782 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -556,7 +556,7 @@ class YumBaseQuery(yum.YumBase):
                     pkg = iq
                 else:
                     if rq is None:
-                        rq = instPkgQuery(pkg, qf)
+                        rq = repoPkgQuery(pkg, qf)
                     rq.pkg = pkg
                     rq.name = pkg.name
                     pkg = rq


Index: yum-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/yum-utils/devel/yum-utils.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -p -r1.82 -r1.83
--- yum-utils.spec	6 Jun 2010 13:24:20 -0000	1.82
+++ yum-utils.spec	7 Jun 2010 18:38:25 -0000	1.83
@@ -1,10 +1,11 @@
 Summary: Utilities based around the yum package manager
 Name: yum-utils
 Version: 1.1.27
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Development/Tools
 Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
+Patch0: repoquery-not-installed.patch
 URL: http://yum.baseurl.org/download/yum-utils/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
@@ -351,6 +352,8 @@ filesystem that is touched by the packag
 %prep
 %setup -q
 
+%patch0 -p1
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -601,6 +604,9 @@ fi
 %{_mandir}/man5/yum-fs-snapshot.conf.5.*
 
 %changelog
+* Sun Jun 6 2010 James Antill <james at fedoraproject.org>
+- Fix repoquery in 1.1.27  
+
 * Sun Jun 6 2010 Tim Lauridsen <timlau at fedoraproject.org>
 - mark as 1.1.27  
 



More information about the scm-commits mailing list