2011-05-16 18:07:44 +02:00
|
|
|
Disable file coloring for SUSE systems
|
|
|
|
|
2020-10-27 11:36:01 +01:00
|
|
|
--- ./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) */
|
2013-07-12 16:11:14 +02:00
|
|
|
- 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++) {
|