blob: 8440c3516d6622f99cdc86351d78a00a32f244b3 [file] [log] [blame]
Andrew Geissler4b740dc2020-05-05 08:54:39 -05001From f39c28eb52f12ae6e82db360ffd5a903ac8faca5 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 9 Jan 2017 18:52:11 +0200
4Subject: [PATCH] Do not add an unsatisfiable dependency when building rpms in
5 a short-circuited way.
6
7Upstream permits short-circuiting only for local testing; Yocto on the other
8hand produces rpms that way by design.
9
10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Andrew Geissler4b740dc2020-05-05 08:54:39 -050012
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013---
14 build/pack.c | 4 ----
15 1 file changed, 4 deletions(-)
16
Andrew Geissler87f5cff2022-09-30 13:13:31 -050017Index: git/build/pack.c
18===================================================================
19--- git.orig/build/pack.c
20+++ git/build/pack.c
21@@ -709,10 +709,6 @@ static rpmRC packageBinary(rpmSpec spec,
Andrew Geissler4b740dc2020-05-05 08:54:39 -050022 headerPutBin(pkg->header, RPMTAG_SOURCEPKGID, spec->sourcePkgId,16);
23 }
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024
Andrew Geissler4b740dc2020-05-05 08:54:39 -050025- if (cheating) {
26- (void) rpmlibNeedsFeature(pkg, "ShortCircuited", "4.9.0-1");
27- }
28-
29 if ((rc = getPkgFilename(pkg->header, filename)))
30 return rc;
31