teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame 0006-Pass-proper-file-index-when-recording-generated-depe.patch

Igor Gnatenko 34e0e8
From 34979267904cec0c53cad1e1361db733f56dcbf8 Mon Sep 17 00:00:00 2001
Igor Gnatenko d7aa14
From: Florian Festi <ffesti@redhat.com>
Igor Gnatenko d7aa14
Date: Wed, 31 May 2017 10:42:03 +0200
Igor Gnatenko d7aa14
Subject: [PATCH 6/6] Pass proper file index when recording generated
Igor Gnatenko d7aa14
 dependencies
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
Resolves regression introduced with 8f509d6
Igor Gnatenko d7aa14
Fixes #224
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
(cherry picked from commit dab75e7f26a08cc6798e4df177adb2dd8d40035c)
Igor Gnatenko d7aa14
---
Igor Gnatenko d7aa14
 build/rpmfc.c | 2 +-
Igor Gnatenko d7aa14
 1 file changed, 1 insertion(+), 1 deletion(-)
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
diff --git a/build/rpmfc.c b/build/rpmfc.c
Igor Gnatenko d7aa14
index 7fa8227d0..72f29ddf5 100644
Igor Gnatenko d7aa14
--- a/build/rpmfc.c
Igor Gnatenko d7aa14
+++ b/build/rpmfc.c
Igor Gnatenko d7aa14
@@ -511,7 +511,7 @@ static int rpmfcHelper(rpmfc fc, int ix,
Igor Gnatenko d7aa14
     data.exclude = exclude;
Igor Gnatenko d7aa14
 
Igor Gnatenko d7aa14
     for (int i = 0; i < pac; i++) {
Igor Gnatenko d7aa14
-	if (parseRCPOT(NULL, fc->pkg, pav[i], tagN, 0, dsContext, addReqProvFc, &data))
Igor Gnatenko d7aa14
+	if (parseRCPOT(NULL, fc->pkg, pav[i], tagN, ix, dsContext, addReqProvFc, &data))
Igor Gnatenko d7aa14
 	    rc++;
Igor Gnatenko d7aa14
     }
Igor Gnatenko d7aa14
 
Igor Gnatenko d7aa14
-- 
Igor Gnatenko d7aa14
2.13.1
Igor Gnatenko d7aa14