2011-05-16 18:07:44 +02:00
|
|
|
Disable file coloring for SUSE systems
|
|
|
|
|
2012-08-28 15:31:44 +02:00
|
|
|
--- build/rpmfc.c.orig 2012-06-01 13:37:51.000000000 +0000
|
|
|
|
+++ build/rpmfc.c 2012-06-01 13:37:21.000000000 +0000
|
|
|
|
@@ -1304,7 +1304,7 @@ rpmRC rpmfcGenerateDepends(const rpmSpec
|
2011-05-16 18:07:44 +02:00
|
|
|
goto exit;
|
|
|
|
|
|
|
|
/* Add per-file colors(#files) */
|
|
|
|
- if (rpmtdFromArgi(&td, RPMTAG_FILECOLORS, fc->fcolor)) {
|
|
|
|
+ if (rpmExpandNumeric("%{?_transaction_color}") != 0 && rpmtdFromArgi(&td, RPMTAG_FILECOLORS, fc->fcolor)) {
|
|
|
|
rpm_color_t *fcolor;
|
|
|
|
/* XXX Make sure only primary (i.e. Elf32/Elf64) colors are added. */
|
2012-08-28 15:31:44 +02:00
|
|
|
while ((fcolor = rpmtdNextUint32(&td))) {
|