1 |
From 4e572593b43a91c17957013aa1fa80d4b6a39c7d Mon Sep 17 00:00:00 2001 |
2 |
From: unknown author <cooker@mandrivalinux.org> |
3 |
Date: Mon, 5 Jan 2009 13:29:57 +0000 |
4 |
Subject: [PATCH 04/35] provides obsoleted |
5 |
|
6 |
--- |
7 |
lib/depends.c | 2 +- |
8 |
1 files changed, 1 insertions(+), 1 deletions(-) |
9 |
|
10 |
diff --git a/lib/depends.c b/lib/depends.c |
11 |
index 810e909..ad21d4f 100644 |
12 |
--- a/lib/depends.c |
13 |
+++ b/lib/depends.c |
14 |
@@ -343,7 +343,7 @@ addheader: |
15 |
* If no obsoletes version info is available, match all names. |
16 |
*/ |
17 |
if (rpmdsEVR(obsoletes) == NULL |
18 |
- || rpmdsAnyMatchesDep(oh, obsoletes, _rpmds_nopromote)) { |
19 |
+ || rpmdsNVRMatchesDep(oh, obsoletes, _rpmds_nopromote)) { |
20 |
char * ohNEVRA = headerGetNEVRA(oh, NULL); |
21 |
#ifdef DYING /* XXX see http://bugzilla.redhat.com #134497 */ |
22 |
if (rpmVersionCompare(h, oh)) |
23 |
-- |
24 |
1.6.1.3 |
25 |
|