teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame 0002-Fix-check-for-weak-deps-in-external-dependency-gener.patch

Igor Gnatenko 34e0e8
From 01dc6ada3bf33a06ad58d3b1246c287ac148d912 Mon Sep 17 00:00:00 2001
Igor Gnatenko d7aa14
From: Florian Festi <ffesti@redhat.com>
Igor Gnatenko d7aa14
Date: Tue, 28 Feb 2017 17:42:21 +0100
Igor Gnatenko d7aa14
Subject: [PATCH 2/6] Fix check for weak deps in external dependency generator
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
(cherry picked from commit 43d230884365d90d42184a0000f44bb33e5f1ab8)
Igor Gnatenko d7aa14
---
Igor Gnatenko d7aa14
 build/rpmfc.c | 12 ++++++------
Igor Gnatenko d7aa14
 1 file changed, 6 insertions(+), 6 deletions(-)
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
diff --git a/build/rpmfc.c b/build/rpmfc.c
Igor Gnatenko d7aa14
index ce192fa9c..921814ad1 100644
Igor Gnatenko d7aa14
--- a/build/rpmfc.c
Igor Gnatenko d7aa14
+++ b/build/rpmfc.c
Igor Gnatenko d7aa14
@@ -1267,12 +1267,12 @@ static rpmRC rpmfcApplyExternal(rpmfc fc)
Igor Gnatenko d7aa14
 	    tagflags = RPMSENSE_FIND_PROVIDES;
Igor Gnatenko d7aa14
 	    break;
Igor Gnatenko d7aa14
 	case RPMTAG_REQUIREFLAGS:
Igor Gnatenko d7aa14
-	case RPMTAG_RECOMMENDNAME:
Igor Gnatenko d7aa14
-	case RPMTAG_SUGGESTNAME:
Igor Gnatenko d7aa14
-	case RPMTAG_SUPPLEMENTNAME:
Igor Gnatenko d7aa14
-	case RPMTAG_ENHANCENAME:
Igor Gnatenko d7aa14
-	case RPMTAG_CONFLICTNAME:
Igor Gnatenko d7aa14
-	case RPMTAG_OBSOLETENAME:
Igor Gnatenko d7aa14
+	case RPMTAG_RECOMMENDFLAGS:
Igor Gnatenko d7aa14
+	case RPMTAG_SUGGESTFLAGS:
Igor Gnatenko d7aa14
+	case RPMTAG_SUPPLEMENTFLAGS:
Igor Gnatenko d7aa14
+	case RPMTAG_ENHANCEFLAGS:
Igor Gnatenko d7aa14
+	case RPMTAG_CONFLICTFLAGS:
Igor Gnatenko d7aa14
+	case RPMTAG_OBSOLETEFLAGS:
Igor Gnatenko d7aa14
 	    if (fc->skipReq)
Igor Gnatenko d7aa14
 		continue;
Igor Gnatenko d7aa14
 	    tagflags = RPMSENSE_FIND_REQUIRES;
Igor Gnatenko d7aa14
-- 
Igor Gnatenko d7aa14
2.13.1
Igor Gnatenko d7aa14