teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame 0004-Re-enable-rich-dependecies-for-build-requires-and-co.patch

Igor Gnatenko 34e0e8
From 96772ee932bbfb3f340589fa5cbbe3ec99125cfd Mon Sep 17 00:00:00 2001
Igor Gnatenko d7aa14
From: Florian Festi <ffesti@redhat.com>
Igor Gnatenko d7aa14
Date: Thu, 9 Mar 2017 14:02:10 +0100
Igor Gnatenko d7aa14
Subject: [PATCH 4/6] Re-enable rich dependecies for build requires and
Igor Gnatenko d7aa14
 conflicts
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
(cherry picked from commit cb3dc0b43bd9a119196a527504d03d57d0785092)
Igor Gnatenko d7aa14
---
Igor Gnatenko d7aa14
 build/parseReqs.c | 2 ++
Igor Gnatenko d7aa14
 1 file changed, 2 insertions(+)
Igor Gnatenko d7aa14
Igor Gnatenko d7aa14
diff --git a/build/parseReqs.c b/build/parseReqs.c
Igor Gnatenko d7aa14
index 6c2aead4e..4d500c1df 100644
Igor Gnatenko d7aa14
--- a/build/parseReqs.c
Igor Gnatenko d7aa14
+++ b/build/parseReqs.c
Igor Gnatenko d7aa14
@@ -174,9 +174,11 @@ rpmRC parseRCPOT(rpmSpec spec, Package pkg, const char *field, rpmTagVal tagN,
Igor Gnatenko d7aa14
     case RPMTAG_BUILDREQUIRES:
Igor Gnatenko d7aa14
 	nametag = RPMTAG_REQUIRENAME;
Igor Gnatenko d7aa14
 	tagflags |= RPMSENSE_ANY;
Igor Gnatenko d7aa14
+	allow_richdeps = 1;
Igor Gnatenko d7aa14
 	break;
Igor Gnatenko d7aa14
     case RPMTAG_BUILDCONFLICTS:
Igor Gnatenko d7aa14
 	nametag = RPMTAG_CONFLICTNAME;
Igor Gnatenko d7aa14
+	allow_richdeps = 1;
Igor Gnatenko d7aa14
 	break;
Igor Gnatenko d7aa14
     case RPMTAG_FILETRIGGERIN:
Igor Gnatenko d7aa14
 	nametag = RPMTAG_FILETRIGGERNAME;
Igor Gnatenko d7aa14
-- 
Igor Gnatenko d7aa14
2.13.1
Igor Gnatenko d7aa14