Accepting request 1223366 from home:michals
- Bump debugedit version (bsc#1233156) OBS-URL: https://build.opensuse.org/request/show/1223366 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=674
This commit is contained in:
14
nobuildcolor.diff
Normal file
14
nobuildcolor.diff
Normal file
@@ -0,0 +1,14 @@
|
||||
Disable file coloring for SUSE systems
|
||||
|
||||
--- build/rpmfc.c.orig 2020-09-30 13:06:07.502865543 +0000
|
||||
+++ build/rpmfc.c 2020-09-30 13:07:08.530734545 +0000
|
||||
@@ -1607,7 +1607,8 @@ rpmRC rpmfcGenerateDepends(const rpmSpec
|
||||
goto exit;
|
||||
|
||||
/* Add per-file colors(#files) */
|
||||
- headerPutUint32(pkg->header, RPMTAG_FILECOLORS, fc->fcolor, fc->nfiles);
|
||||
+ if (rpmExpandNumeric("%{?_transaction_color}") != 0)
|
||||
+ headerPutUint32(pkg->header, RPMTAG_FILECOLORS, fc->fcolor, fc->nfiles);
|
||||
|
||||
/* Add classes(#classes) */
|
||||
for (rpmsid id = 1; id <= rpmstrPoolNumStr(fc->cdict); id++) {
|
Reference in New Issue
Block a user