rpms/yum/F-9 0001-gotta-check-both-not-either-otherwise-filedeps-do.patch, NONE, 1.1 yum.spec, 1.213, 1.214

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Sun May 18 14:54:06 UTC 2008


Author: skvidal

Update of /cvs/extras/rpms/yum/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27198

Modified Files:
	yum.spec 
Added Files:
	0001-gotta-check-both-not-either-otherwise-filedeps-do.patch 
Log Message:
patch to fix no-file-deps bug :(



0001-gotta-check-both-not-either-otherwise-filedeps-do.patch:

--- NEW FILE 0001-gotta-check-both-not-either-otherwise-filedeps-do.patch ---
>From 7a99a04d7f121a547d9af82738cd64b2fa8b04ca Mon Sep 17 00:00:00 2001
From: Seth Vidal <skvidal at fedoraproject.org>
Date: Sat, 17 May 2008 07:43:42 -0400
Subject: [PATCH] gotta check both, not either - otherwise filedeps don't work :(

---
 yum/sqlitesack.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
index c9fc26c..0b5d3e1 100644
--- a/yum/sqlitesack.py
+++ b/yum/sqlitesack.py
@@ -766,7 +766,7 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
         # If it's not a provides or a filename, we are done
         if prcotype != "provides":
             return results
-        if not glob or name[0] != '/':
+        if not glob and name[0] != '/':
             return results
 
         # If it is a filename, search the primary.xml file info
-- 
1.5.5.1



Index: yum.spec
===================================================================
RCS file: /cvs/extras/rpms/yum/F-9/yum.spec,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -r1.213 -r1.214
--- yum.spec	16 May 2008 14:37:23 -0000	1.213
+++ yum.spec	18 May 2008 14:53:18 -0000	1.214
@@ -3,7 +3,7 @@
 Summary: RPM installer/updater
 Name: yum
 Version: 3.2.16
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://linux.duke.edu/projects/yum/download/3.2/%{name}-%{version}.tar.gz
@@ -13,6 +13,7 @@
 Patch1: yum-mirror-priority.patch
 Patch2: yum-manpage-files.patch
 Patch3: yum-multilib-policy-best.patch
+Patch4: 0001-gotta-check-both-not-either-otherwise-filedeps-do.patch
 
 URL: http://linux.duke.edu/yum/
 BuildArch: noarch
@@ -55,6 +56,7 @@
 %patch1 -p0
 %patch2 -p0
 %patch3 -p0
+%patch4 -p1
 
 %build
 make
@@ -103,6 +105,10 @@
 %dir /usr/lib/yum-plugins
 
 %changelog
+* Sun May 18 2008 Seth Vidal <skvidal at fedoraproject.org> 3.2.16-2
+- stupid, stupid, stupid
+
+
 * Fri May 16 2008 Seth Vidal <skvidal at fedoraproject.org> 3.2.16-1
 - 3.2.16
 




More information about the scm-commits mailing list