Michael Schröder
a23c9f6537
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=559
15 lines
592 B
Diff
15 lines
592 B
Diff
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++) {
|